This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
tests/audiomatch: Reduce search window
This avoids unneeded computations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer
10 years ago
parent
c7b983249a
commit
b3ec5b00ce
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tests/audiomatch.c
+ 1
- 1
tests/audiomatch.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save