[vlc-commits] libvlc: better error code if no modules are found

Rémi Denis-Courmont git at videolan.org
Sun Dec 2 09:22:24 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec  2 10:14:38 2012 +0200| [27416ca2c4d4f580f74037ea246b24ba26e80bfe] | committer: Rémi Denis-Courmont

libvlc: better error code if no modules are found

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

 src/libvlc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 716f752..8e342f9 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -231,7 +231,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     {
         msg_Err( p_libvlc, "No plugins found! Check your VLC installation.");
         module_EndBank (true);
-        return VLC_ENOITEM;
+        return VLC_ENOMOD;
     }
 
 #ifdef HAVE_DAEMON



More information about the vlc-commits mailing list