[FFmpeg-cvslog] avutil/tests/lfg: Remove debugging start/stop timer

Michael Niedermayer git at videolan.org
Wed Mar 8 15:47:00 EET 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Mar  8 11:29:40 2017 +0100| [1d0bad421ceb5c0040819a0c9f8e66a7bf4a5fd2] | committer: Michael Niedermayer

avutil/tests/lfg: Remove debugging start/stop timer

Fixes code with qemu ARM

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavutil/tests/lfg.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavutil/tests/lfg.c b/libavutil/tests/lfg.c
index 9e908d2..bf127e3 100644
--- a/libavutil/tests/lfg.c
+++ b/libavutil/tests/lfg.c
@@ -104,15 +104,12 @@ int main(void)
     int x = 0;
     int i, j;
     AVLFG state;
-
     av_lfg_init(&state, 0xdeadbeef);
     for (j = 0; j < 10000; j++) {
-        START_TIMER
         for (i = 0; i < 624; i++) {
             //av_log(NULL, AV_LOG_ERROR, "%X\n", av_lfg_get(&state));
             x += av_lfg_get(&state);
         }
-        STOP_TIMER("624 calls of av_lfg_get");
     }
     av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x);
 



More information about the ffmpeg-cvslog mailing list