lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before...
authorSasi Inguva <isasi-at-google.com@ffmpeg.org>
Tue, 14 Nov 2017 02:09:28 +0000 (18:09 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Nov 2017 20:02:31 +0000 (21:02 +0100)
commit54f8ac199fe38b2837146621963bb543868130be
tree0e92dc20f64fc73578d28b8beaaebe6f5352453c
parent01763144dcc1bc47fa4967d91d3fedb25e3ef556
lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before edit list start.

After c2a8f0fcbe57ea9ccaa864130f078af10516c3c1 this can happen on normal edit lists starting on a B-frame.

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-bbi-elst-starts-b [new file with mode: 0644]