[FFmpeg-devel] [PATCH] mxfdec: Constrain run-in to 64k

Marton Balint cus at passwd.hu
Tue Apr 16 00:03:53 EEST 2019



On Mon, 15 Apr 2019, Tomas Härdin wrote:

> This isn't likely to be a huge problem, but it allows us to reason more
> about run-in. It also exposes my gripe about klv_read_packet() using
> mxf_read_sync()

I would allow 65536 bytes as well for run-in, even if that is against the 
standard. The MXF book for example says this:

run-in - a sequence of up to 65536 bytes at the front of the file that 
preceeds the first partition pack.

So I guess there is a chance of seeing files with 65536 byte run-in in the 
wild, and those files used to work...

Regards,
Marton


More information about the ffmpeg-devel mailing list