aboutsummaryrefslogtreecommitdiff
path: root/tests/audiomatch.c
diff options
context:
space:
mode:
authorMichael Niedermayer2016-03-22 12:21:27 +0100
committerMichael Niedermayer2016-03-30 03:37:56 +0200
commitb3ec5b00ce6ef911838010497e7da7ce010f3192 (patch)
tree5468b6b0facb1307147dcf38e0408485bad95fdc /tests/audiomatch.c
parentc7b983249aa46acf4b64515c5e61f3392706352a (diff)
tests/audiomatch: Reduce search window
This avoids unneeded computations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/audiomatch.c')
-rw-r--r--tests/audiomatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/audiomatch.c b/tests/audiomatch.c
index e2d6c5555f..9752f6819d 100644
--- a/tests/audiomatch.c
+++ b/tests/audiomatch.c
@@ -100,7 +100,7 @@ int main(int argc, char **argv){
c += signal[i] * data[j];
}
if(fabs(c) > sigamp * 0.94)
- maxshift = FFMIN(maxshift, fabs(pos)+128);
+ maxshift = FFMIN(maxshift, fabs(pos)+32);
if(fabs(c)>fabs(bestc)){
bestc= c;
bestpos = pos;