lavf/mov.c: Make audio timestamps strictly monotonically increasing inside an edit...
authorSasi Inguva <isasi@google.com>
Mon, 26 Sep 2016 16:56:26 +0000 (09:56 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Sep 2016 00:25:41 +0000 (02:25 +0200)
commitdba2db6c0e4a18b9b69b846650401bf3a1d5a019
tree886d2717ed37b555f3f1d951e89f1e05a21ef02d
parent7e0235bdb145cf7975bda240acb629991c4b7048
lavf/mov.c: Make audio timestamps strictly monotonically increasing inside an edit list.

Fixes gapless decoding. Adjust skip_samples field correctly in case of DISCARDed audio frames.

Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c
tests/ref/fate/gaplessenc-itunes-to-ipod-aac
tests/ref/fate/gaplessenc-pcm-to-mov-aac