summaryrefslogtreecommitdiffstats
path: root/libavutil/lfg.h
diff options
context:
space:
mode:
authorMartin Storsjö <[email protected]>2013-07-15 16:44:20 +0300
committerMartin Storsjö <[email protected]>2013-07-15 21:39:24 +0300
commite740929a071ab032ffa382e89da69c6ec7cf882c (patch)
tree7f0e62e8d641687a68b8fd3110695472a8b97040 /libavutil/lfg.h
parent31931520df35a6f9606fe8293c8a39e2d1fabedf (diff)
lavf: Make sure avg_frame_rate can be calculated without integer overflow
If either of the deltas is too large for the multiplications to succeed, don't use this for setting the avg frame rate. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Cc: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
Diffstat (limited to 'libavutil/lfg.h')
0 files changed, 0 insertions, 0 deletions