mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-24 04:45:25 +00:00
tests/audiomatch: Reduce search window
This avoids unneeded computations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c7b983249a
commit
b3ec5b00ce
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user