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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commita89b45b492dd3c82d9aab1d67dac21bf56bcf43d
tree99c6c746d293fe5a3eea4b34aba386b128e7e364
parent5b586f0bc87dc1c19bc722ea7386d670c33eeb71
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