[FFmpeg-cvslog] r19015 - trunk/libavcodec/mpegaudiodecheader.c

bcoudurier subversion
Sun May 31 06:26:23 CEST 2009


Author: bcoudurier
Date: Sun May 31 06:26:22 2009
New Revision: 19015

Log:
fix compilation with DEBUG defined

Modified:
   trunk/libavcodec/mpegaudiodecheader.c

Modified: trunk/libavcodec/mpegaudiodecheader.c
==============================================================================
--- trunk/libavcodec/mpegaudiodecheader.c	Sun May 31 06:13:25 2009	(r19014)
+++ trunk/libavcodec/mpegaudiodecheader.c	Sun May 31 06:26:22 2009	(r19015)
@@ -90,20 +90,20 @@ int ff_mpegaudio_decode_header(MPADecode
     }
 
 #if defined(DEBUG)
-    dprintf(s->avctx, "layer%d, %d Hz, %d kbits/s, ",
+    dprintf(NULL, "layer%d, %d Hz, %d kbits/s, ",
            s->layer, s->sample_rate, s->bit_rate);
     if (s->nb_channels == 2) {
         if (s->layer == 3) {
             if (s->mode_ext & MODE_EXT_MS_STEREO)
-                dprintf(s->avctx, "ms-");
+                dprintf(NULL, "ms-");
             if (s->mode_ext & MODE_EXT_I_STEREO)
-                dprintf(s->avctx, "i-");
+                dprintf(NULL, "i-");
         }
-        dprintf(s->avctx, "stereo");
+        dprintf(NULL, "stereo");
     } else {
-        dprintf(s->avctx, "mono");
+        dprintf(NULL, "mono");
     }
-    dprintf(s->avctx, "\n");
+    dprintf(NULL, "\n");
 #endif
     return 0;
 }



More information about the ffmpeg-cvslog mailing list