diff options
author | chcunningham <chcunningham@chromium.org> | 2019-02-07 14:58:17 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-02-08 12:00:59 +0100 |
commit | 1c15449ca9a5bfa387868ac55628397273da761f (patch) | |
tree | 8dd4fa4ffc0a2c571172ec108d429e47b66c3ced /libavfilter/af_resample.c | |
parent | 3ea87e5d9ea075d5b3c0f4f8c6c48e514b454cbe (diff) | |
download | ffmpeg-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 'libavfilter/af_resample.c')
0 files changed, 0 insertions, 0 deletions