[FFmpeg-cvslog] lavfi: add a new function av_buffersrc_buffer().

Etienne Buira etienne.buira.lists at free.fr
Thu May 17 11:52:29 CEST 2012


On Mon, Dec 26, 2011 at 04:14:01AM +0100, Anton Khirnov wrote:
> ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Dec 21 20:39:18 2011 +0100| [e1d9dbf2d465448028bf396d7b37dbb642794678] | committer: Anton Khirnov
> 
> lavfi: add a new function av_buffersrc_buffer().
> 
> It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
> memcpy.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1d9dbf2d465448028bf396d7b37dbb642794678

This commit introduces a massive memleak when using avfilter with -ss
after -i (it really looks like decoded frames that are not encoded are
not freed).

Command to reproduce:
ffmpeg -i hd_sources_makes_it_more_obvious.ext -ss 120 -vf scale=720:528 /dev/null

The code have changed since, and I didn't find my way to make a fix. Can
someone fix it?

Regards.



More information about the ffmpeg-cvslog mailing list