comparison mpegaudiodecheader.c @ 9740:30b00f4bdeb1 libavcodec

fix compilation with DEBUG defined
author bcoudurier
date Sun, 31 May 2009 04:26:22 +0000
parents e9d9d946f213
children 5f7c1d0e4104
comparison
equal deleted inserted replaced
9739:96e6cab7470a 9740:30b00f4bdeb1
88 /* if no frame size computed, signal it */ 88 /* if no frame size computed, signal it */
89 return 1; 89 return 1;
90 } 90 }
91 91
92 #if defined(DEBUG) 92 #if defined(DEBUG)
93 dprintf(s->avctx, "layer%d, %d Hz, %d kbits/s, ", 93 dprintf(NULL, "layer%d, %d Hz, %d kbits/s, ",
94 s->layer, s->sample_rate, s->bit_rate); 94 s->layer, s->sample_rate, s->bit_rate);
95 if (s->nb_channels == 2) { 95 if (s->nb_channels == 2) {
96 if (s->layer == 3) { 96 if (s->layer == 3) {
97 if (s->mode_ext & MODE_EXT_MS_STEREO) 97 if (s->mode_ext & MODE_EXT_MS_STEREO)
98 dprintf(s->avctx, "ms-"); 98 dprintf(NULL, "ms-");
99 if (s->mode_ext & MODE_EXT_I_STEREO) 99 if (s->mode_ext & MODE_EXT_I_STEREO)
100 dprintf(s->avctx, "i-"); 100 dprintf(NULL, "i-");
101 } 101 }
102 dprintf(s->avctx, "stereo"); 102 dprintf(NULL, "stereo");
103 } else { 103 } else {
104 dprintf(s->avctx, "mono"); 104 dprintf(NULL, "mono");
105 } 105 }
106 dprintf(s->avctx, "\n"); 106 dprintf(NULL, "\n");
107 #endif 107 #endif
108 return 0; 108 return 0;
109 } 109 }