aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/decklink_common.cpp
diff options
context:
space:
mode:
authorchcunningham <chcunningham@chromium.org>2019-02-07 14:58:17 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-03-24 10:39:03 +0100
commit750ec96f667811d32f4a6044db333419b12d79c2 (patch)
tree9605531995cecb6f42fe5fd584b3caccaa569e7f /libavdevice/decklink_common.cpp
parent90c194710a6610a6d596877c3f53a11a0cc3a65a (diff)
downloadffmpeg-750ec96f667811d32f4a6044db333419b12d79c2.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 'libavdevice/decklink_common.cpp')
0 files changed, 0 insertions, 0 deletions