aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-07 23:43:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-10 05:40:42 +0100
commit29034e65039ef6b1854ceeb76ffe4092992d9fd5 (patch)
tree5ae156f7fd22e31d3a3d71d4f2f64247b4508f92 /libavformat/rtsp.c
parent789d6b73cf8120fc411a8862c4ffb7e533607245 (diff)
downloadffmpeg-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 'libavformat/rtsp.c')
0 files changed, 0 insertions, 0 deletions