[SCM] libav/experimental: dont print "vop not coded" by default

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:41:41 UTC 2013


The following commit has been merged in the experimental branch:
commit 40028f8f6e214c90a15a10b3b33e83c06c4ac74f
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Sep 27 17:46:07 2004 +0000

    dont print "vop not coded" by default
    
    Originally committed as revision 3523 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 922cb1f..fb862cd 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -5780,7 +5780,8 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
     
     /* vop coded */
     if (get_bits1(gb) != 1){
-        av_log(s->avctx, AV_LOG_ERROR, "vop not coded\n");
+        if(s->avctx->debug&FF_DEBUG_PICT_INFO)
+            av_log(s->avctx, AV_LOG_ERROR, "vop not coded\n");
         return FRAME_SKIPED;
     }
 //printf("time %d %d %d || %Ld %Ld %Ld\n", s->time_increment_bits, s->time_increment_resolution, s->time_base,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list