summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin@xiph.org>2010-06-20 22:18:14 +0000
committerRobin Watts <robin@xiph.org>2010-06-20 22:18:14 +0000
commit3f027516b0420fb57e19acf51c5e4b4b7df8855d (patch)
treec7e516d7794578163551b786704c78060bc405e9
parent1126d09df31732005ce104f95964caaa936c27e1 (diff)
downloadtremor-3f027516b0420fb57e19acf51c5e4b4b7df8855d.tar.gz
Fix typo in end of mdct routine that was causing corruption of some
streams - thanks to Stuart Fisher for the pointer to the problem stream. git-svn-id: https://svn.xiph.org/branches/lowmem-branch/Tremolo@17297 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--mdct.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdct.c b/mdct.c
index bb40ac2..6afc451 100644
--- a/mdct.c
+++ b/mdct.c
@@ -438,7 +438,7 @@ void mdct_backward(int n, DATA_TYPE *in){
mdct_step8(in,n,step>>2);
#else
step = ARM_SUFFIX(mdct_backward)(n, in);
- if (step < 1)
+ if (step <= 1)
mdct_step8(in,n,step);
#endif
}
@@ -570,4 +570,3 @@ void mdct_unroll_lap(int n0,int n1,
#endif
}
}
-