aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/metasound_data.c
diff options
context:
space:
mode:
authorchcunningham <chcunningham@chromium.org>2019-02-07 14:58:17 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-03-21 10:42:51 +0100
commit32017af5ef62c9fccf33b4ee240e33da80c5eefa (patch)
treefc6f5f045bed63647c9cf3601586c9f1fbea8ca9 /libavcodec/metasound_data.c
parent12a09ce975145c2641877bb0253c0ad905a28f97 (diff)
downloadffmpeg-32017af5ef62c9fccf33b4ee240e33da80c5eefa.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/metasound_data.c')
0 files changed, 0 insertions, 0 deletions