[vlc-devel] commit: mpeg4video: Fix leaked fmt_out.p_extra. (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Feb 11 19:57:06 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Feb 11 17:27:47 2010 +0100| [85ccc9999a13701489de513ddae03440051676e9] | committer: Pierre d'Herbemont
mpeg4video: Fix leaked fmt_out.p_extra.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85ccc9999a13701489de513ddae03440051676e9
---
modules/packetizer/mpeg4video.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/packetizer/mpeg4video.c b/modules/packetizer/mpeg4video.c
index b482c61..af61cc1 100644
--- a/modules/packetizer/mpeg4video.c
+++ b/modules/packetizer/mpeg4video.c
@@ -152,6 +152,8 @@ static int Open( vlc_object_t *p_this )
es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in );
p_dec->fmt_out.i_codec = VLC_CODEC_MP4V;
+ free(p_dec->fmt_out.p_extra);
+
if( p_dec->fmt_in.i_extra )
{
/* We have a vol */
More information about the vlc-devel
mailing list