Skip to content
Snippets Groups Projects
Commit 41a33f51 authored by Alex Beregszaszi's avatar Alex Beregszaszi
Browse files

100l - this has only worked on big endian

Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 19d9ac81
No related branches found
No related tags found
No related merge requests found
...@@ -586,7 +586,7 @@ static int alac_decode_frame(AVCodecContext *avctx, ...@@ -586,7 +586,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
int i; int i;
for (i = 0; i < outputsamples; i++) { for (i = 0; i < outputsamples; i++) {
int16_t sample = alac->outputsamples_buffer_a[i]; int16_t sample = alac->outputsamples_buffer_a[i];
be2me_16(sample); sample = be2me_16(sample);
((int16_t*)outbuffer)[i * alac->numchannels] = sample; ((int16_t*)outbuffer)[i * alac->numchannels] = sample;
} }
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment