summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmaprodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwmapro/wmaprodec.c')
-rw-r--r--apps/codecs/libwmapro/wmaprodec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libwmapro/wmaprodec.c b/apps/codecs/libwmapro/wmaprodec.c
index e5a5fd94eb..018ea7c304 100644
--- a/apps/codecs/libwmapro/wmaprodec.c
+++ b/apps/codecs/libwmapro/wmaprodec.c
@@ -125,7 +125,7 @@
125#define FFMAX(a,b) ((a) > (b) ? (a) : (b)) 125#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
126 126
127/* Define some multiple used constants */ 127/* Define some multiple used constants */
128#define SQRT2_FRACT24 0x016A09E6 /* 0x016A09E6 = (sqrt(2)*(1<<24)) */ 128#define SQRT2_FRACT16 0x00016A0A /* 0x00016A0A = (sqrt(2)*(1<<16)) */
129#define COS_PI4_FRACT16 0x0000B505 /* 0x0000B505 = (cos(pi/4)<<16) */ 129#define COS_PI4_FRACT16 0x0000B505 /* 0x0000B505 = (cos(pi/4)<<16) */
130#define ONE_FRACT16 0x00010000 /* 0x00010000 = (1<<16) */ 130#define ONE_FRACT16 0x00010000 /* 0x00010000 = (1<<16) */
131 131
@@ -1058,10 +1058,10 @@ static void inverse_channel_transform(WMAProDecodeCtx *s)
1058 int len = FFMIN(sfb[1], s->subframe_len) - sfb[0]; 1058 int len = FFMIN(sfb[1], s->subframe_len) - sfb[0];
1059 vector_fixmul_scalar(ch_data[0] + sfb[0], 1059 vector_fixmul_scalar(ch_data[0] + sfb[0],
1060 ch_data[0] + sfb[0], 1060 ch_data[0] + sfb[0],
1061 SQRT2_FRACT24, len); 1061 SQRT2_FRACT16, len);
1062 vector_fixmul_scalar(ch_data[1] + sfb[0], 1062 vector_fixmul_scalar(ch_data[1] + sfb[0],
1063 ch_data[1] + sfb[0], 1063 ch_data[1] + sfb[0],
1064 SQRT2_FRACT24, len); 1064 SQRT2_FRACT16, len);
1065 1065
1066 } 1066 }
1067 } 1067 }