[FFmpeg-devel] [PATCH] Fix memory leak in theora encoder

Art Clarke aclarke
Mon Jul 13 02:38:46 CEST 2009


>
> Isn't this a bug in libtheora or their documentation? Has it been reported?
>

Their doc for the old API (that FFmpeg is using) doesn't explicitly say they
delete the packet, but can be read to suggest it does.  In reality, it
doesn't delete the packet.  I don't know if the new Theora API is correctly
documented and didn't check since FFmpeg doesn't use it.

The original FFmpeg implementor assumed the packet was deleted when the
comment was deleted.  This is an incorrect assumption.

- Art


-- 
http://www.xuggle.com/
xu?ggle (z?' gl) v. To freely encode, decode, and experience audio and
video.

Use Xuggle to get the power of FFmpeg in Java.



More information about the ffmpeg-devel mailing list