[FFmpeg-devel] [PATCH] ffmpeg: Add threshold to discard crazy/damaged timestamps.

Michael Niedermayer michaelni at gmx.at
Fri Feb 10 03:36:26 CET 2012

On Wed, Feb 08, 2012 at 12:50:11AM +0100, Michael Niedermayer wrote:
> 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 at gmx.at>


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120210/0ad0c9f5/attachment.asc>

More information about the ffmpeg-devel mailing list