[FFmpeg-devel] AVDictionary for binary tags

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Jan 21 20:54:11 CET 2012


On Sat, Jan 21, 2012 at 08:54:37PM +0200, Dmitry Kostjuchenko wrote:
> If you mean line 'void *bdata = av_malloc(atom.size);' inside mov.c
> then it is limited for 'cover_jpeg' key only and cover art image is
> always JPEG and won't exceed couple of megabytes, so truncation is
> ok here to me.

First, no I don't think it will be, not with maliciously crafted files.
Second, I actually meant the av_malloc (and realloc) in
av_dict_set_binary.


More information about the ffmpeg-devel mailing list