[FFmpeg-devel] [mov] Bail when invalid sample data is present.
dalecurtis at chromium.org
Tue Aug 1 00:40:28 EEST 2017
[mov] Bail when invalid sample data is present.
ctts data in ffmpeg relies on the index entries array to be 1:1
with samples... yet sc->sample_count can be read directly from
the 'stsz' box and index entries are only generated if a chunk
count has been read from 'stco' box.
Ensure that if sc->sample_count > 0, sc->chunk_count is too.
This should be applied on top of the ctts fixes in my previous patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1380 bytes
Desc: not available
More information about the ffmpeg-devel