Changeset 153639cb in ffmpeg

Timestamp:
May 29, 2015, 5:35:58 PM (10 years ago)
Author:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Branches:
master
Children:
e374405d
Parents:
403940de
git-author:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (05/27/15 21:57:50)
git-committer:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (05/29/15 17:35:58)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.