summaryrefslogtreecommitdiff
path: root/tests/audiomatch.c
Commit message (Collapse)AuthorAge
* tests/audiomatch: add free to make static analysis tools happyJun Zhao2020-12-10
| | | | | Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* tests/audiomatch: removes a warning when compiling tests/audiomatchSteven Liu2020-10-26
| | | | | | | | | the warning message: warning: using floating point absolute value function 'fabs' when argument is of integer type use FFABS to set the absolute value. Signed-off-by: liuqi05 <liuqi05@kuaishou.com>
* tests/audiomatch: Add missing return code at the end of main()Michael Niedermayer2017-12-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Whitespace refinementJun Zhao2017-12-19
| | | | | | Refine the coding style. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Add return value check for fread.Jun Zhao2017-12-19
| | | | | | | | Check fread return value to fix build warning as "ignoring return value of ‘fread’" Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Fix compile warningSteven Liu2016-08-25
| | | | | | | | | | | | | Making sure bestpos is initialized to zero to prevent gcc from kvetching. It's harmless (although it's not obvious that it's harmless) from code inspection: tests/audiomatch.c: In function ‘main’: tests/audiomatch.c:40: warning: ‘bestpos’ may be used uninitialized in this function Thanks to Moritz Barsnick for first bringing this to the attention. Signed-off-by: LiuQi <liuqi@gosun.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Reduce search windowMichael Niedermayer2016-03-30
| | | | | | This avoids unneeded computations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: also print signal vs reference lengthMichael Niedermayer2016-03-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add audiomatchMichael Niedermayer2016-03-22
Testset provided by Justin Greer <justin@zencoder.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>