[x264-devel] Fix checkasm --bench output when nop_cycles is too large

Anton Mitrofanov git at videolan.org
Thu Mar 13 21:23:50 CET 2014


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Mon Mar 10 21:17:19 2014 +0400| [670a0d4fe83072c6a0c458d6dfa96a782115fbdf] | committer: Jason Garrett-Glaser

Fix checkasm --bench output when nop_cycles is too large

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=670a0d4fe83072c6a0c458d6dfa96a782115fbdf
---

 tools/checkasm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/checkasm.c b/tools/checkasm.c
index afb08e1..2edd1c8 100644
--- a/tools/checkasm.c
+++ b/tools/checkasm.c
@@ -200,7 +200,7 @@ static void print_bench(void)
                     b->cpu&X264_CPU_FAST_NEON_MRC ? "_fast_mrc" :
 #endif
                     "",
-                    ((int64_t)10*b->cycles/b->den - nop_time)/4 );
+                    (int64_t)(10*b->cycles/b->den - nop_time)/4 );
         }
 }
 



More information about the x264-devel mailing list