[FFmpeg-devel] [PATCH]h264 - parser close memory leak fix

Michael Niedermayer michaelni
Mon Sep 24 03:11:07 CEST 2007


On Tue, Sep 11, 2007 at 01:44:47PM +0800, LiuKeNan wrote:
> use a new function h264_parse_close instead of ff_parse_close,
> because ff_parse_close pointer to a wrong pointer to free memory.

yes but why does the parser use the h264context to begin with?
it would make more sense to not use it instead of duplicating
random functions because its used

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070924/7d421c32/attachment.pgp>

More information about the ffmpeg-devel mailing list