Commit eaba84ad authored by alex's avatar alex

100l - this has only worked on big endian


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9d570003
......@@ -586,7 +586,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
int i;
for (i = 0; i < outputsamples; i++) {
int16_t sample = alac->outputsamples_buffer_a[i];
be2me_16(sample);
sample = be2me_16(sample);
((int16_t*)outbuffer)[i * alac->numchannels] = sample;
}
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment