avformat/mov: Set start_pad correctly in mov_fix_index()
authorDale Curtis <dalecurtis@chromium.org>
Mon, 16 Oct 2017 21:17:35 +0000 (14:17 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 21 Oct 2017 01:12:43 +0000 (03:12 +0200)
commita5fd8aa45b11c10613e6e576033a6b5a16b9cbb9
tree229b213eb769f7ee601b88da54ceb8040884ffaf
parent279dc407163ee85d530a15582052a47436110a7b
avformat/mov: Set start_pad correctly in mov_fix_index()

Sets the correct start padding value when an edit list is present.

A new fate test is added, fate-mov-440hz-10ms, to ensure this is
handled correctly.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Sasi Inguva <isasi-at-google.com@ffmpeg.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c
tests/fate/mov.mak
tests/ref/fate/mov-440hz-10ms [new file with mode: 0644]