diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 11:06:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 11:06:35 +0100 |
commit | 6ae43725323b02520fa0926422b52d2ce7fd7973 (patch) | |
tree | 8d3ff4541a3aac98f4bc51a1af2199f91f389179 /libavcodec/h264.c | |
parent | a76ef998eb24bec16caf82633287c8e331acf717 (diff) | |
download | ffmpeg-6ae43725323b02520fa0926422b52d2ce7fd7973.tar.gz |
h264/mpegvideo: fix ff_print_debug_info2 arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 0f1c67a85a..1826cedf91 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4918,16 +4918,16 @@ not_extra: if ((ret = av_frame_ref(pict, &h->next_output_pic->f)) < 0) return ret; *got_frame = 1; + if (CONFIG_MPEGVIDEO) { + ff_print_debug_info2(h->avctx, h->next_output_pic, pict, h->er.mbskip_table, + h->visualization_buffer, &h->low_delay, + h->mb_width, h->mb_height, h->mb_stride, 1); + } } } assert(pict->data[0] || !*got_frame); - if (CONFIG_MPEGVIDEO) { - ff_print_debug_info2(h->avctx, pict, h->er.mbskip_table, h->visualization_buffer, &h->low_delay, - h->mb_width, h->mb_height, h->mb_stride, 1); - } - return get_consumed_bytes(buf_index, buf_size); } |