You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
remove a division from STOP_TIMER
Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -386,7 +386,7 @@ tend= read_time();\
|
|||||||
tcount++;\
|
tcount++;\
|
||||||
}else\
|
}else\
|
||||||
tskip_count++;\
|
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);\
|
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
|
||||||
}\
|
}\
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user