summaryrefslogtreecommitdiff
path: root/celt/pitch.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2014-01-08 11:48:38 -0800
committerGregory Maxwell <greg@xiph.org>2014-01-08 11:48:38 -0800
commita65db56e540585d02b724b162c9c923c208a7c95 (patch)
tree94f29d4705614c927fb3f445820e5b8e0c7cb1d6 /celt/pitch.c
parent5b215d8423785bd1a18a7c497a568eefe1976e0c (diff)
downloadopus-a65db56e540585d02b724b162c9c923c208a7c95.tar.gz
Fix declaration after statement in fixed point.
Diffstat (limited to 'celt/pitch.c')
-rw-r--r--celt/pitch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/celt/pitch.c b/celt/pitch.c
index 93db58d7..d4037892 100644
--- a/celt/pitch.c
+++ b/celt/pitch.c
@@ -256,11 +256,11 @@ celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, opus_val32 *xcorr
/*The EDSP version requires that max_pitch is at least 1, and that _x is
32-bit aligned.
Since it's hard to put asserts in assembly, put them here.*/
- celt_assert(max_pitch>0);
- celt_assert((((unsigned char *)_x-(unsigned char *)NULL)&3)==0);
#ifdef FIXED_POINT
opus_val32 maxcorr=1;
#endif
+ celt_assert(max_pitch>0);
+ celt_assert((((unsigned char *)_x-(unsigned char *)NULL)&3)==0);
for (i=0;i<max_pitch-3;i+=4)
{
opus_val32 sum[4]={0,0,0,0};