Commit d98aa7cd authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d4e649cc
......@@ -4842,8 +4842,10 @@ not_extra:
assert(pict->data[0] || !*got_frame);
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);
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment