[FFmpeg-cvslog] avcodec/mpegvideo_dec: Use picture-dimensions in ff_print_debug_info()

Andreas Rheinhardt git at videolan.org
Tue Mar 4 14:34:57 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jul  1 01:31:12 2024 +0200| [973c7a0c652dbac5f171e61dcf94f42de094eaa2] | committer: Andreas Rheinhardt

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 <andreas.rheinhardt at outlook.com>

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

 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,



More information about the ffmpeg-cvslog mailing list