[FFmpeg-cvslog] fftools/ffmpeg_dec: drop a useless log message

Anton Khirnov git at videolan.org
Tue Jan 30 11:07:32 EET 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 11 12:05:58 2024 +0100| [217b8757db6280fae49e8c3cbbf3cdb7fcb02607] | committer: Anton Khirnov

fftools/ffmpeg_dec: drop a useless log message

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=217b8757db6280fae49e8c3cbbf3cdb7fcb02607
---

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

diff --git a/fftools/ffmpeg_dec.c b/fftools/ffmpeg_dec.c
index e2d503f441..1c5030d933 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");



More information about the ffmpeg-cvslog mailing list