aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-05-10 21:35:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-05-10 21:35:29 +0000
commit85ea6b29582da35c5ebf9356537e0a00d8d47cb3 (patch)
treebea6b9a3e80aa0fa9ff034fc2b5a98312e5053b2
parent0433188259be2c7db9f28ae9be1baf5680a88e1c (diff)
downloadffmpeg-85ea6b29582da35c5ebf9356537e0a00d8d47cb3.tar.gz
print obmc bug info only if avctx->debug&1
Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index ed4da642f0..591d50952f 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -4374,7 +4374,8 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){
}
s->progressive_sequence= get_bits1(gb)^1;
- if(!get_bits1(gb)) printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */
+ if(!get_bits1(gb) && (s->avctx->debug & FF_DEBUG_PICT_INFO))
+ printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */
if (vo_ver_id == 1) {
s->vol_sprite_usage = get_bits1(gb); /* vol_sprite_usage */
} else {