FFmpeg/libavformat
Andreas Cadhalpun 153639cb9c mov: fix DTS calculation for samples with negative stts duration
A negative sample duration is invalid according to the spec, but there
are samples that use it for the DTS calculation, e.g.:
http://files.1f0.de/samples/mp4-negative-stts-problem.mp4

These currently get out of A/V sync.

Also change the logging type to AV_LOG_WARNING, because decoding the
sample can continue.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-05-29 19:35:58 +02:00
..
2015-05-23 22:36:02 +02:00
2015-05-27 21:48:47 +02:00
2015-04-07 22:50:07 +02:00
2015-03-27 18:29:46 +01:00
2015-03-06 21:35:00 +01:00
2015-02-26 02:06:10 +01:00
2015-03-26 03:10:27 +01:00
2015-05-26 19:54:41 +02:00
2015-01-30 09:33:49 +00:00
2015-05-20 19:07:26 +02:00
2015-05-27 21:48:47 +02:00
2015-04-23 12:56:31 +02:00
2015-02-01 20:00:10 +01:00
2015-05-27 21:48:47 +02:00
2015-03-27 18:29:46 +01:00
2015-04-24 03:43:56 +02:00
2015-04-11 13:51:03 +02:00