Commit 85ccc999 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

mpeg4video: Fix leaked fmt_out.p_extra.

parent c94c6328
...@@ -152,6 +152,8 @@ static int Open( vlc_object_t *p_this ) ...@@ -152,6 +152,8 @@ static int Open( vlc_object_t *p_this )
es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in ); es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in );
p_dec->fmt_out.i_codec = VLC_CODEC_MP4V; p_dec->fmt_out.i_codec = VLC_CODEC_MP4V;
free(p_dec->fmt_out.p_extra);
if( p_dec->fmt_in.i_extra ) if( p_dec->fmt_in.i_extra )
{ {
/* We have a vol */ /* We have a vol */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment