avformat/mov: Check STSC and remove invalid entries
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 16 Mar 2018 18:53:36 +0000 (19:53 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Jul 2018 17:45:45 +0000 (19:45 +0200)
commit0288fa9319d5f3f7aa65c37d26ec7f90bfcdae02
treec78a0926cb690128739879aa5895bd5977bd78f1
parentf6a55b04904e3de235075c5e8b657c534cbe0d24
avformat/mov: Check STSC and remove invalid entries

Fixes assertion failure
Fixes: crbug 822547, crbug 822666 and crbug 823009

Affects: aark15sd_9A62E2FA.mp4

Found-by: ClusterFuzz
Reviewed-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9e67447a4ffacf28af8bace33faf3ea432ddc43e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c