[FFmpeg-soc] [soc]: r4907 - wmapro/wmaprodec.c

faust3 subversion at mplayerhq.hu
Sun Aug 2 13:36:25 CEST 2009


Author: faust3
Date: Sun Aug  2 13:36:25 2009
New Revision: 4907

Log:
call dump_context only when FF_DEBUG_BITSTREAM is set

Modified:
   wmapro/wmaprodec.c

Modified: wmapro/wmaprodec.c
==============================================================================
--- wmapro/wmaprodec.c	Sun Aug  2 13:26:24 2009	(r4906)
+++ wmapro/wmaprodec.c	Sun Aug  2 13:36:25 2009	(r4907)
@@ -462,7 +462,9 @@ static av_cold int decode_init(AVCodecCo
     for (i=0;i<33;i++)
         sin64[i] = sin(i*M_PI / 64.0);
 
-    dump_context(s);
+    if (avctx->debug & FF_DEBUG_BITSTREAM)
+        dump_context(s);
+
     avctx->channel_layout = channel_mask;
     return 0;
 }


More information about the FFmpeg-soc mailing list