[FFmpeg-cvslog] avutil/tests/lzo: remove timer macros

James Almer git at videolan.org
Sun Jun 13 19:42:19 EEST 2021


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jun  2 13:06:16 2021 -0300| [75f0bc651f999fe946f9bf07ab909fa7aecedbd3] | committer: James Almer

avutil/tests/lzo: remove timer macros

Suggested-by: ffmpeg at fb.com
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75f0bc651f999fe946f9bf07ab909fa7aecedbd3
---

 libavutil/tests/lzo.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavutil/tests/lzo.c b/libavutil/tests/lzo.c
index 0147ab5c1d..a5655dbfc5 100644
--- a/libavutil/tests/lzo.c
+++ b/libavutil/tests/lzo.c
@@ -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");



More information about the ffmpeg-cvslog mailing list