[FFmpeg-devel] [PATCH] avformat/mov.c: require tfhd to begin parsing trun

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Feb 7 17:50:21 EET 2019

On 07/02/2019 00:12, chcunningham wrote:
> Detecting missing tfhd avoids re-using tfhd track info from the previous
> moof. For files with multiple tracks, this may make a mess of the
> avindex and fragindex, which can later trigger av_assert0 in
> mov_read_trun().
> ---
>  libavformat/isom.h |  1 +
>  libavformat/mov.c  | 10 ++++++++++
>  2 files changed, 11 insertions(+)

I think this seems reasonable.

Is the intent to entirely reject these files, or only the broken parts?
(lack of patch context for how it cascades for me)

- Derek

More information about the ffmpeg-devel mailing list