diff mbox series

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

Message ID 20240124081702.4759-9-anton@khirnov.net
State Accepted
Commit 217b8757db6280fae49e8c3cbbf3cdb7fcb02607
Headers show
Series [FFmpeg-devel,01/31] fftools/ffmpeg_dec: split Decoder into a private and public part | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Jan. 24, 2024, 8:16 a.m. UTC
---
 fftools/ffmpeg_dec.c | 12 ------------
 1 file changed, 12 deletions(-)
diff mbox series

Patch

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");