comparison pcm-mpeg.c @ 10149:94cb694c2af7 libavcodec

Remove pointless debug statement that fails to compile.
author diego
date Tue, 08 Sep 2009 09:11:56 +0000
parents 7955db355703
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10148:732dfbf67524 10149:94cb694c2af7
143 /* There's always an even number of channels in the source */ 143 /* There's always an even number of channels in the source */
144 num_source_channels = FFALIGN(avctx->channels, 2); 144 num_source_channels = FFALIGN(avctx->channels, 2);
145 sample_size = (num_source_channels * avctx->bits_per_coded_sample) >> 3; 145 sample_size = (num_source_channels * avctx->bits_per_coded_sample) >> 3;
146 samples = buf_size / sample_size; 146 samples = buf_size / sample_size;
147 147
148 if (avctx->debug & FF_DEBUG_BITSTREAM)
149 dprintf(avctx,
150 "pcm_bluray_decode_frame: c: %d sc: %d s: %d in: %d ds: %d\n",
151 avctx->channels, num_source_channels, num_samples, buf_size,
152 *data_size);
153
154 output_size = samples * avctx->channels * 148 output_size = samples * avctx->channels *
155 (avctx->sample_fmt == SAMPLE_FMT_S32 ? 4 : 2); 149 (avctx->sample_fmt == SAMPLE_FMT_S32 ? 4 : 2);
156 if (output_size > *data_size) { 150 if (output_size > *data_size) {
157 av_log(avctx, AV_LOG_ERROR, 151 av_log(avctx, AV_LOG_ERROR,
158 "Insufficient output buffer space (%d bytes, needed %d bytes)\n", 152 "Insufficient output buffer space (%d bytes, needed %d bytes)\n",