aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vpk.c
diff options
context:
space:
mode:
authorchcunningham <chcunningham@chromium.org>2019-02-07 14:58:17 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-02-08 12:00:59 +0100
commit1c15449ca9a5bfa387868ac55628397273da761f (patch)
tree8dd4fa4ffc0a2c571172ec108d429e47b66c3ced /libavformat/vpk.c
parent3ea87e5d9ea075d5b3c0f4f8c6c48e514b454cbe (diff)
downloadffmpeg-1c15449ca9a5bfa387868ac55628397273da761f.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>
Diffstat (limited to 'libavformat/vpk.c')
0 files changed, 0 insertions, 0 deletions