aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/hscale.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:22:37 +0100
commit00cdf4e4e51750daa1e99ecbd49d6ee5f98dac51 (patch)
tree000d228b3a776f7d1b7a6597023380eb799cbcaf /libswscale/hscale.c
parentbcc71f30adc9de8b02f0b54636f02f20f71ef065 (diff)
downloadffmpeg-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 'libswscale/hscale.c')
0 files changed, 0 insertions, 0 deletions