diff options
author | Marton Balint <cus@passwd.hu> | 2022-06-20 20:10:21 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2022-06-27 20:37:43 +0200 |
commit | 20e2aa940cd521bb3b1395e7c7a28cc34059abee (patch) | |
tree | 9fc1b65a626dda6a35054df68d72ee60793f92e7 /libavfilter/af_silencedetect.c | |
parent | cbe216d3a62fe22b16a1ba40b9b3f13e5b4ac9a9 (diff) | |
download | ffmpeg-20e2aa940cd521bb3b1395e7c7a28cc34059abee.tar.gz |
fftools/ffmpeg: change frame counters to 64 bit
Frame counters can overflow relatively easily (INT_MAX number of frames is
slightly more than 1 year for 60 fps content), so make sure we are always
using 64 bit values for them.
A live stream can easily run for more than a year and the framedup logic breaks
on an overflow.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/af_silencedetect.c')
0 files changed, 0 insertions, 0 deletions