From 4ce9fd947ea919044ca1f7dfb4bfa8186ea4c20e Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 1 Jul 2024 01:31:12 +0200 Subject: [PATCH 04/30] avcodec/mpegvideo_dec: Use picture-dimensions in ff_print_debug_info() It will allow to avoid the special case for VC-1 field pictures. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 44f1ba1592..53e02ad91c 100644 --- a/libavcodec/mpegvideo_dec.c +++ b/libavcodec/mpegvideo_dec.c @@ -404,7 +404,7 @@ void ff_print_debug_info(const MpegEncContext *s, const MPVPicture *p, AVFrame * { ff_print_debug_info2(s->avctx, pict, p->mb_type, p->qscale_table, p->motion_val, - s->mb_width, s->mb_height, s->mb_stride, s->quarter_sample); + p->mb_width, p->mb_height, p->mb_stride, s->quarter_sample); } int ff_mpv_export_qp_table(const MpegEncContext *s, AVFrame *f, -- 2.45.2