From 8e06f20abf1f8bbd3580b2992231d039e0c9d77b Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Thu, 21 Sep 2006 18:00:05 +0000 Subject: [PATCH] remove a division from STOP_TIMER Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/common.h b/libavutil/common.h index 31142b9d25..bd92dda154 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -386,7 +386,7 @@ tend= read_time();\ tcount++;\ }else\ tskip_count++;\ - if(256*256*256*64%(tcount+tskip_count)==0){\ + if(((tcount+tskip_count)&(tcount+tskip_count-1))==0){\ av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\ }\ }