diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-07 23:43:10 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-10 05:40:42 +0100 |
commit | 29034e65039ef6b1854ceeb76ffe4092992d9fd5 (patch) | |
tree | 5ae156f7fd22e31d3a3d71d4f2f64247b4508f92 /libavcodec/s3tc.c | |
parent | 789d6b73cf8120fc411a8862c4ffb7e533607245 (diff) | |
download | ffmpeg-29034e65039ef6b1854ceeb76ffe4092992d9fd5.tar.gz |
ffmpeg: Add threshold to discard crazy/damaged timestamps.
The added tests are limited to the case where timestamp discontinuities
are not allowed. The default is 30 hours which is arbitrarily picked and
quite conservative.
This prevents a out of memory condition due to duplicating a frame
millions of times.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/s3tc.c')
0 files changed, 0 insertions, 0 deletions