[FFmpeg-devel] [PATCH] avformat/mov: validate chunk_count vs stsc_data

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Feb 1 21:04:44 EET 2019

2019-02-01 2:18 GMT+01:00, chcunningham <chcunningham at chromium.org>:
> Bad content may contain stsc boxes with a first_chunk index that
> exceeds stco.entries (chunk_count).
> mov_get_stsc_samples now checks for this and returns 0 when
> values are invalid.

> Also updates MOVStsc to use unsigned ints, per spec.

Could be split...

Carl Eugen

More information about the ffmpeg-devel mailing list