]> git.sesse.net Git - vlc/commitdiff
fmt_in.p_extra is free'd by input core
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 18 Mar 2007 19:29:13 +0000 (19:29 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 18 Mar 2007 19:29:13 +0000 (19:29 +0000)
modules/codec/subsdec.c

index be206da4b20550ce6bed595ff55187129d92dbe1..56f390305f441edc09446e22a18d12807475171c 100644 (file)
@@ -751,7 +751,7 @@ static void ParseUSFHeader( decoder_t *p_dec )
     p_sub = stream_MemoryNew( VLC_OBJECT(p_dec),
                               p_dec->fmt_in.p_extra,
                               p_dec->fmt_in.i_extra,
-                              VLC_FALSE );
+                              VLC_TRUE );
     if( p_sub )
     {
         p_xml = xml_Create( p_dec );