ffmpeg: Add sanity check on frame duplication
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jul 2012 01:48:36 +0000 (03:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jul 2012 02:17:00 +0000 (04:17 +0200)
commitdf3a96c497c0db51c917e51e5e4a60986979db91
treeb9fd2f8a0ef95a9c76eb2b332045981a3e691c4a
parenta54bc1ebb8b0fe31b6088c19ff0c8e53b94a70ad
ffmpeg: Add sanity check on frame duplication

This prevents long loops and OOM in case of damaged timestamps in some
cases

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c