]> git.sesse.net Git - ffmpeg/commit
mov: Fix parsing short loci
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 16 May 2015 11:51:18 +0000 (13:51 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 19 May 2016 07:46:51 +0000 (10:46 +0300)
commitf126365cdad6327e6def8ceb918eaf538fbb97b3
treea64ce0f43631b8d0676388e34e192a8c68ec8524
parent704d2bd18be8f134cb9ab19463a3c4eb63233dbd
mov: Fix parsing short loci

Previously, we required the minimum number of bytes required for
the full box. Don't strictly require the astronomical body and additional
notes fields, but do require an altitude field (which currently isn't
parsed). This matches the initial length check at the start of the function
(which doesn't know about the variable length place field).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mov.c