You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h264: put call to ff_print_debug_info2 under CONFIG_MPEGVIDEO.
The code is located in mpegvideo, and it's likely that in a minimal config, we don't want to include debug info anyway. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
d4e649cca6
commit
d98aa7cdc1
@@ -4842,8 +4842,10 @@ not_extra:
|
|||||||
|
|
||||||
assert(pict->data[0] || !*got_frame);
|
assert(pict->data[0] || !*got_frame);
|
||||||
|
|
||||||
ff_print_debug_info2(h->avctx, pict, h->er.mbskip_table, h->visualization_buffer, &h->low_delay,
|
if (CONFIG_MPEGVIDEO) {
|
||||||
h->mb_width, h->mb_height, h->mb_stride, 1);
|
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);
|
return get_consumed_bytes(buf_index, buf_size);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user