Try to fix Windows build

This commit is contained in:
Cameron Gutman 2023-09-23 13:33:21 -04:00
parent 4fed3802aa
commit dc556d3c9b
2 changed files with 2 additions and 2 deletions

View file

@ -604,7 +604,7 @@ void FFmpegVideoDecoder::addVideoStats(VIDEO_STATS& src, VIDEO_STATS& dst)
dst.renderedFps = (float)dst.renderedFrames / ((float)(now - dst.measurementStartTimestamp) / 1000);
}
void FFmpegVideoDecoder::stringifyVideoStats(VIDEO_STATS& stats, char* output, ssize_t length)
void FFmpegVideoDecoder::stringifyVideoStats(VIDEO_STATS& stats, char* output, int length)
{
int offset = 0;
const char* codecString;

View file

@ -32,7 +32,7 @@ public:
private:
bool completeInitialization(const AVCodec* decoder, PDECODER_PARAMETERS params, bool testFrame, bool useAlternateFrontend);
void stringifyVideoStats(VIDEO_STATS& stats, char* output, ssize_t length);
void stringifyVideoStats(VIDEO_STATS& stats, char* output, int length);
void logVideoStats(VIDEO_STATS& stats, const char* title);