lavf/mov.c: Set start_time for all streams (in case of edit lists).
authorSasi Inguva <isasi@google.com>
Mon, 6 Aug 2018 23:28:50 +0000 (16:28 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 11 Aug 2018 00:37:42 +0000 (02:37 +0200)
commit12673bb25342c772e1bf5fd2adebd85f97dc616e
tree73b149ffb23600325a13f25ad19bb21b94ab4043
parent87cc7e8d4ef8fa643d8d4822525b9c95cc9e7307
lavf/mov.c: Set start_time for all streams (in case of edit lists).

Fixes vorbis mp4 audio files, with edit list specified. Since
st->skip_samples is not set in case of vorbis , ffmpeg computes the
start_time as negative.

Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c
tests/fate/mov.mak
tests/ref/fate/mov-neg-firstpts-discard-vorbis [new file with mode: 0644]