diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2005-07-02 19:43:23 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2005-07-02 19:43:23 +0000 |
commit | 41a33f51d2fcff50bd587acc6e88d08ca40c0da9 (patch) | |
tree | a6e151e6563516d5ebd7fb6635df3ca049e2af05 /libavcodec/alac.c | |
parent | 19d9ac8169aea4e1fa4b12fb23db1b0526f2dc63 (diff) | |
download | ffmpeg-41a33f51d2fcff50bd587acc6e88d08ca40c0da9.tar.gz |
100l - this has only worked on big endian
Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 5ae2e00f47..2943b4dc51 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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; |