[FFmpeg-devel] Memory leak using bitstream filters with shared libs

Reimar Döffinger Reimar.Doeffinger
Mon Mar 10 13:20:32 CET 2008


On Mon, Mar 10, 2008 at 12:55:56PM +0100, Michael Niedermayer wrote:
> On Mon, Mar 10, 2008 at 09:53:37AM +0100, Reimar D?ffinger wrote:
> > Huh? Of course the destruct pointer should stay, this flag would just
> > indicate if the destruct function does some kind of free in the data or
> > not, so that we know which way we need to use to copy etc. the AVPacket.
> 
> Whats the point of having a flag that says this destruct() does nothing,
> destuct=NULL is much simpler.

Well, I had assumed that the current complicated way was for a reason,
not just a brain-fart...
Well, probably it was considered simpler like this originally.




More information about the ffmpeg-devel mailing list