Fixed an invalid return.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 23 Oct 2008 19:46:24 +0000 (21:46 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 23 Oct 2008 20:01:59 +0000 (22:01 +0200)
modules/codec/subtitles/subsusf.c

index b2467ef..6b21e12 100644 (file)
@@ -643,7 +643,7 @@ static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader )
                     if( ! p_style )
                     {
                         free( psz_node );
-                        return VLC_ENOMEM;
+                        return;
                     }
                     /* All styles are supposed to default to Default, and then
                      * one or more settings are over-ridden.