[Ffmpeg-devel] Re: [BUG] ALAC decoder

Diego Biurrun diego
Tue May 9 16:48:14 CEST 2006


On Mon, May 08, 2006 at 06:08:49PM +0200, Baptiste COUDURIER wrote:
> 
> matthieu castet wrote:
> > [...]
> > 
> > I bet the correct patch is to remove the le2me_16.
> 
> Indeed, patch attached. Tested on ppc, and x86. Diego is it fine for you ?
> 
> --- libavcodec/alac.c	21 Feb 2006 00:03:10 -0000	1.10
> +++ libavcodec/alac.c	8 May 2006 16:06:38 -0000
> @@ -602,7 +602,7 @@ static int alac_decode_frame(AVCodecCont
>                  int16_t sample = alac->outputsamples_buffer_a[i];
> -                sample = be2me_16(sample);
> +                //sample = be2me_16(sample);

I'd just remove the line completely, other than that, apply it.

Diego





More information about the ffmpeg-devel mailing list