avutil/tests/lzo: remove timer macros

Suggested-by: ffmpeg@fb.com
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2021-06-02 13:06:16 -03:00
parent 3ce272a9da
commit 75f0bc651f
1 changed files with 0 additions and 2 deletions

View File

@ -55,7 +55,6 @@ int main(int argc, char *argv[]) {
} else
lzo1x_999_compress(orig, s, comp, &clen, tmp);
for (i = 0; i < 300; i++) {
START_TIMER
inlen = clen; outlen = MAXSZ;
#if BENCHMARK_LIBLZO_SAFE
if (lzo1x_decompress_safe(comp, inlen, decomp, &outlen, NULL))
@ -65,7 +64,6 @@ START_TIMER
if (av_lzo1x_decode(decomp, &outlen, comp, &inlen))
#endif
av_log(NULL, AV_LOG_ERROR, "decompression error\n");
STOP_TIMER("lzod")
}
if (memcmp(orig, decomp, s))
av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n");