diff --git a/common/libs/VkCodecUtils/VulkanVideoProcessor.cpp b/common/libs/VkCodecUtils/VulkanVideoProcessor.cpp index 0b125ae..5b3f60c 100644 --- a/common/libs/VkCodecUtils/VulkanVideoProcessor.cpp +++ b/common/libs/VkCodecUtils/VulkanVideoProcessor.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include "VkCodecUtils/Helpers.h" #include "VkCodecUtils/VulkanDeviceContext.h" @@ -542,7 +543,7 @@ size_t VulkanVideoProcessor::OutputFrameToFile(VulkanDecodedFrame* pFrame) // Output a crc for this frame. if (m_settings.outputcrcPerFrame != 0) { - fprintf(m_settings.crcOutputFile, "CRC Frame[%i]:", pFrame->pictureIndex); + fprintf(m_settings.crcOutputFile, "CRC Frame[%" PRId64 "]:", pFrame->displayOrder); size_t crcCount = m_settings.crcInitValue.size(); for (size_t i = 0; i < crcCount; i += 1) { uint32_t frameCrc = m_settings.crcInitValue[i];