projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d9ac8
)
100l - this has only worked on big endian
author
Alex Beregszaszi
<alex@rtfs.hu>
Sat, 2 Jul 2005 19:43:23 +0000
(19:43 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Sat, 2 Jul 2005 19:43:23 +0000
(19:43 +0000)
Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alac.c
patch
|
blob
|
history
diff --git
a/libavcodec/alac.c
b/libavcodec/alac.c
index
5ae2e00
..
2943b4d
100644
(file)
--- 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;