changeset 2782:67ea9a5a8fff libavcodec

100l - this has only worked on big endian
author alex
date Sat, 02 Jul 2005 19:43:23 +0000
parents 899a2ea0907c
children 7a411f408d74
files alac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Sat Jul 02 19:39:58 2005 +0000
+++ b/alac.c	Sat Jul 02 19:43:23 2005 +0000
@@ -586,7 +586,7 @@
             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;