[FFmpeg-devel] [PATCH 09/31] fftools/ffmpeg_dec: drop a useless log message

Anton Khirnov anton at khirnov.net
Wed Jan 24 10:16:39 EET 2024


---
 fftools/ffmpeg_dec.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/fftools/ffmpeg_dec.c b/fftools/ffmpeg_dec.c
index baaba966c6..00428dff48 100644
--- a/fftools/ffmpeg_dec.c
+++ b/fftools/ffmpeg_dec.c
@@ -263,18 +263,6 @@ static int video_frame_process(InputStream *ist, AVFrame *frame)
 {
     DecoderPriv *dp = dp_from_dec(ist->decoder);
 
-    if (dp->dec_ctx->width  != frame->width ||
-        dp->dec_ctx->height != frame->height ||
-        dp->dec_ctx->pix_fmt != frame->format) {
-        av_log(dp, AV_LOG_DEBUG, "Frame parameters mismatch context %d,%d,%d != %d,%d,%d\n",
-            frame->width,
-            frame->height,
-            frame->format,
-            dp->dec_ctx->width,
-            dp->dec_ctx->height,
-            dp->dec_ctx->pix_fmt);
-    }
-
 #if FFMPEG_OPT_TOP
     if(ist->top_field_first>=0) {
         av_log(dp, AV_LOG_WARNING, "-top is deprecated, use the setfield filter instead\n");
-- 
2.42.0



More information about the ffmpeg-devel mailing list