diff options
author | chcunningham <[email protected]> | 2019-02-07 14:58:17 -0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-02-08 12:22:37 +0100 |
commit | 00cdf4e4e51750daa1e99ecbd49d6ee5f98dac51 (patch) | |
tree | 000d228b3a776f7d1b7a6597023380eb799cbcaf /libavcodec/ac3_parser.c | |
parent | bcc71f30adc9de8b02f0b54636f02f20f71ef065 (diff) |
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 <[email protected]>
(cherry picked from commit 1c15449ca9a5bfa387868ac55628397273da761f)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/ac3_parser.c')
0 files changed, 0 insertions, 0 deletions