changeset 1237:6ce5cde4e1d4 libavcodec

print obmc bug info only if avctx->debug&1
author michaelni
date Sat, 10 May 2003 21:35:29 +0000
parents d6e4784ffc16
children 6eab0df78d47
files h263.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sat May 10 16:06:33 2003 +0000
+++ b/h263.c	Sat May 10 21:35:29 2003 +0000
@@ -4374,7 +4374,8 @@
         }
         
         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 {