1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fix alac decoder on little endian

Originally committed as revision 5357 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-05-10 11:59:09 +00:00
parent 2d661e073e
commit 415d10d0a5

View File

@ -602,7 +602,6 @@ static int alac_decode_frame(AVCodecContext *avctx,
int i;
for (i = 0; i < outputsamples; i++) {
int16_t sample = alac->outputsamples_buffer_a[i];
sample = be2me_16(sample);
((int16_t*)outbuffer)[i * alac->numchannels] = sample;
}
break;