[FFmpeg-soc] [soc]: r3280 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Thu Aug 14 21:28:52 CEST 2008


Author: faust3
Date: Thu Aug 14 21:28:51 2008
New Revision: 3280

Log:
use real context for the av_logs in dump context not NULL

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	(original)
+++ wmapro/wma3dec.c	Thu Aug 14 21:28:51 2008
@@ -86,8 +86,8 @@ typedef struct WMA3DecodeContext {
  */
 static void dump_context(WMA3DecodeContext *s)
 {
-#define PRINT(a,b) av_log(NULL,AV_LOG_ERROR," %s = %d\n", a, b);
-#define PRINT_HEX(a,b) av_log(NULL,AV_LOG_ERROR," %s = %x\n", a, b);
+#define PRINT(a,b) av_log(s->avctx,AV_LOG_ERROR," %s = %d\n", a, b);
+#define PRINT_HEX(a,b) av_log(s->avctx,AV_LOG_ERROR," %s = %x\n", a, b);
 
     PRINT_HEX("ed channelmask",s->dwChannelMask);
     PRINT("ed sample bit depth",s->sample_bit_depth);



More information about the FFmpeg-soc mailing list