summaryrefslogtreecommitdiffstats
path: root/tests/audiomatch.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/audiomatch: Add missing return code at the end of main()Michael Niedermayer2017-12-191-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Whitespace refinementJun Zhao2017-12-191-15/+15
| | | | | | Refine the coding style. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Add return value check for fread.Jun Zhao2017-12-191-2/+4
| | | | | | | | 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-251-1/+1
| | | | | | | | | | | | | 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-301-1/+1
| | | | | | This avoids unneeded computations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: also print signal vs reference lengthMichael Niedermayer2016-03-301-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add audiomatchMichael Niedermayer2016-03-221-0/+110
Testset provided by Justin Greer <justin@zencoder.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud