[vlc-devel] commit: Fixed an invalid return. (Laurent Aimar )

git version control git at videolan.org
Thu Oct 23 22:05:21 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Oct 23 21:46:24 2008 +0200| [f0e63c5df599a87fa05524b15a7ff01da7ecd2ec] | committer: Laurent Aimar 

Fixed an invalid return.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0e63c5df599a87fa05524b15a7ff01da7ecd2ec
---

 modules/codec/subtitles/subsusf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/subtitles/subsusf.c b/modules/codec/subtitles/subsusf.c
index b2467ef..6b21e12 100644
--- a/modules/codec/subtitles/subsusf.c
+++ b/modules/codec/subtitles/subsusf.c
@@ -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.




More information about the vlc-devel mailing list