diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index 558dcd22..77ae925a 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -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; diff --git a/app/streaming/video/ffmpeg.h b/app/streaming/video/ffmpeg.h index fdd45b15..03f5b281 100644 --- a/app/streaming/video/ffmpeg.h +++ b/app/streaming/video/ffmpeg.h @@ -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);