summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-09-21 18:00:05 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-09-21 18:00:05 +0000
commit8e06f20abf1f8bbd3580b2992231d039e0c9d77b (patch)
treeaa2bed3f392e8a948e237db34778be35a036f406 /libavutil
parent7e611a0e8ce978f8481531eb4f6988b19fabf5c5 (diff)
downloadffmpeg-streaming-8e06f20abf1f8bbd3580b2992231d039e0c9d77b.zip
ffmpeg-streaming-8e06f20abf1f8bbd3580b2992231d039e0c9d77b.tar.gz
remove a division from STOP_TIMER
Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index 31142b9..bd92dda 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);\
}\
}
OpenPOWER on IntegriCloud