diff options
author | chcunningham <chcunningham@chromium.org> | 2019-02-07 14:58:17 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-02-08 12:22:37 +0100 |
commit | 00cdf4e4e51750daa1e99ecbd49d6ee5f98dac51 (patch) | |
tree | 000d228b3a776f7d1b7a6597023380eb799cbcaf /libavcodec/qpeldsp.h | |
parent | bcc71f30adc9de8b02f0b54636f02f20f71ef065 (diff) | |
download | ffmpeg-00cdf4e4e51750daa1e99ecbd49d6ee5f98dac51.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 'libavcodec/qpeldsp.h')
0 files changed, 0 insertions, 0 deletions