[FFmpeg-devel] [PATCH]Enhance VDPAU documentation

Carl Eugen Hoyos cehoyos
Thu Oct 22 21:04:56 CEST 2009


Hi!

Uoti pointed out on -cvslog that libavcodec is allocating memory 
(typically 1kB) that it never frees (it has no pointers to the allocated 
memory).
ffmpeg (the executable) never calls the function, so there is no leak. 
MPlayer does the allocation when -vc *vdpau are used, and frees the 
buffers (since today). valgrind never showed leaks, because the pointer to 
the memory was a static struct (while I suppose it is dynamically 
allocated in Uoti's fork, so there was probably a true leak).

Please comment (is this acceptable at all?), Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchfreebuffers.diff
Type: text/x-diff
Size: 640 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091022/c9807ff7/attachment.diff>



More information about the ffmpeg-devel mailing list