summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2005-07-02 19:43:23 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2005-07-02 19:43:23 +0000
commit41a33f51d2fcff50bd587acc6e88d08ca40c0da9 (patch)
treea6e151e6563516d5ebd7fb6635df3ca049e2af05 /libavcodec/alac.c
parent19d9ac8169aea4e1fa4b12fb23db1b0526f2dc63 (diff)
downloadffmpeg-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.c2
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;