OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e649c
)
h264: put call to ff_print_debug_info2 under CONFIG_MPEGVIDEO.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Sun, 3 Mar 2013 01:03:38 +0000
(17:03 -0800)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 3 Mar 2013 11:19:29 +0000
(12:19 +0100)
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>
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
9d86e01
..
659c023
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-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);
}