[FFmpeg-devel] [PATCH] mov: fix DTS calculation for samples with negative stts duration
andreas.cadhalpun at googlemail.com
Fri May 29 19:40:24 CEST 2015
On 29.05.2015 18:52, Michael Niedermayer wrote:
> On Fri, May 29, 2015 at 03:27:36PM +0200, Andreas Cadhalpun wrote:
>> mov.c | 29 +++++++++++++++++++++++------
>> 1 file changed, 23 insertions(+), 6 deletions(-)
>> d6041f950d69f7b2717d4df347cf0f6db4ccdd58 0001-mov-fix-DTS-calculation-for-samples-with-negative-st.patch
>> From 266bb402dcc6c53200637c8c37572239192bb0d3 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Wed, 27 May 2015 23:57:50 +0200
>> Subject: [PATCH] mov: fix DTS calculation for samples with negative stts
>> A negative sample duration is invalid according to the spec, but there
>> are samples that use it for the DTS calculation, e.g.:
>> These currently get out of A/V sync.
>> Also change the logging type to AV_LOG_WARNING, because decoding the
>> sample can continue.
Pushed, thanks for the review.
More information about the ffmpeg-devel