[FFmpeg-devel] [PATCH] LPCM in MPEG-TS, v4.1
Tue Aug 25 17:41:43 CEST 2009
On Tue, Aug 25, 2009 at 06:32:10PM +0300, Christian P. Schmidt wrote:
> Sigh, copy&paste, thanks Diego.
There are some left still. May I politely suggest that you run search
and replace instead of manually fixing such issues? This will be less
error-prone and faster, thus saving both your and our time.
> --- libavcodec/pcm-mpeg.c (revision 0)
> +++ libavcodec/pcm-mpeg.c (revision 0)
> @@ -0,0 +1,316 @@
> + /* There's always an even number of channels in the source */
> + num_source_channels = FFALIGN(avctx->channels, 2);
> + sample_size = (num_source_channels * avctx->bits_per_coded_sample) >> 3;
> + samples = buf_size / sample_size;
> + if(avctx->debug & FF_DEBUG_BITSTREAM)
More information about the ffmpeg-devel