]> git.sesse.net Git - vlc/commitdiff
Provide return statements in non-void function
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 29 Aug 2006 08:05:15 +0000 (08:05 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 29 Aug 2006 08:05:15 +0000 (08:05 +0000)
src/stream_output/profiles.c

index 18c6a11963863fc038e46215a2caeabceb70f6e9..3b854832a9d699be0d6e66cf8d961be85e94ada6 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2006 the VideoLAN team
  * $Id$
  *
- * Authors: Clément Stenac <zorglub@videolan.org>
+ * Authors: Clent Stenac <zorglub@videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -408,5 +408,7 @@ int streaming_ProfileParse( vlc_object_t *p_this,streaming_profile_t *p_profile,
     if( !p_module )
     {
         msg_Warn( p_this, "parsing profile failed" );
+        return VLC_EGENERIC;
     }
+    return VLC_SUCCESS;
 }