[FFmpeg-devel] [RFC] LPCM 24 bits support

Giuliano Pochini pochini
Sat Mar 29 21:25:45 CET 2008


On Wed, 26 Mar 2008 00:48:39 +0100
Michael Niedermayer <michaelni at gmx.at> wrote:

> On Wed, Mar 26, 2008 at 12:20:13AM +0000, Giuliano Pochini wrote:
> >      } else if (startcode >= 0xa0 && startcode <= 0xaf) {
> >          type = CODEC_TYPE_AUDIO;
> > -        codec_id = CODEC_ID_PCM_S16BE;
> > +        codec_id = CODEC_ID_PCM_DVD;
>
> CODEC_ID_PCM_S16BE should stay CODEC_ID_PCM_S16BE

My patch also handles that format. If codec_id stays CODEC_ID_PCM_S16BE
then I have to place the DVD LPCM decoder into the CODEC_ID_PCM_S16BE case
in pcm.c which doesn't look correct IMHO. Any hints ?


--
Giuliano.




More information about the ffmpeg-devel mailing list