[Ffmpeg-devel] [PATCH] DV Muxer Memory Leak

Brian Brice bbrice
Mon Oct 30 11:53:02 CET 2006


The raw DV output format has a memory leak.  Typically, the priv_data
member of AVFormatContext will be allocated if AVOutputFormat's
priv_data_size value is not 0 before write_header is called.  Within
dv_write_header of libavformat/dvenc.c, priv_data is overwritten and
a pointer to allocated memory is lost.

Brian Brice
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dvenc-priv_data.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061030/96f5cd5a/attachment.txt>

More information about the ffmpeg-devel mailing list