diff options
author | chcunningham <chcunningham@chromium.org> | 2019-02-07 14:58:17 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-24 10:38:51 +0100 |
commit | 08b159fd0d9ddcc3a26fe96ca754d77f1de3c40a (patch) | |
tree | 772572d7aeddd5b64d78a25c08178ab5472f15e2 /tests/ref/vsynth/vsynth3-mpeg2-422 | |
parent | 0063964f84b163495b3569aab13f73f65a7ac1c6 (diff) | |
download | ffmpeg-08b159fd0d9ddcc3a26fe96ca754d77f1de3c40a.tar.gz |
avformat/mov: validate chunk_count vs stsc_data
Bad content may contain stsc boxes with a first_chunk index that
exceeds stco.entries (chunk_count). This ammends the existing check to
include cases where chunk_count == 0. It also patches up the case
when stsc refers to unknown chunks, but stts has no samples (so we
can simply ignore stsc).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1c15449ca9a5bfa387868ac55628397273da761f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/vsynth/vsynth3-mpeg2-422')
0 files changed, 0 insertions, 0 deletions