changeset 7890:d35f7bafc007

10l
author arpi
date Wed, 23 Oct 2002 23:48:42 +0000
parents e44ec5681211
children 4d6369c408b5
files libmpcodecs/ad_msadpcm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_msadpcm.c	Wed Oct 23 23:40:34 2002 +0000
+++ b/libmpcodecs/ad_msadpcm.c	Wed Oct 23 23:48:42 2002 +0000
@@ -44,7 +44,8 @@
 
 #define MS_ADPCM_PREAMBLE_SIZE 6
 
-#define LE_16(x) (le2me_16((x)[1]+(256*(x)[0])))
+#define LE_16(x) (le2me_16((x)[0]+(256*((x)[1]))))
+//#define LE_16(x) (le2me_16((x)[1]+(256*((x)[0]))))
 //#define LE_16(x) (le2me_16(*(unsigned short *)(x)))
 //#define LE_32(x) (le2me_32(*(unsigned int *)(x)))