[FFmpeg-devel] [PATCH v4] lavf/matroskadec: Normalize noncompliant A_QUICKTIME/V_QUICKTIME private data

Mats Peterson matsp888 at yahoo.com
Sun Jan 10 03:24:16 CET 2016

On 01/10/2016 03:05 AM, Mats Peterson wrote:

> I suppose that ebml_read_binary() in matroskadec.c is the function used
> to read the private data, and it allocates memory using
> av_fast_padded_malloc() for this. Is it safe to reallocate a pointer
> from this function then? So far I've had no problems, but of course I
> want to be absolutely sure.

Probably not, since it eventually uses av_malloc() as well... sigh.


More information about the ffmpeg-devel mailing list