[vlc-commits] commit: winvlc: enable media-library ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Oct 20 19:55:06 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Oct 20 19:54:54 2010 +0200| [0dc9628b41d82256474d21f00a569119f403ab32] | committer: Rafaël Carré 

winvlc: enable media-library

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

 bin/winvlc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index b91cea1..92d3441 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -139,10 +139,11 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     if (wargv == NULL)
         return 1;
 
-    char *argv[argc + 1];
+    char *argv[argc + 2];
     BOOL crash_handling = TRUE;
     int j = 0;
 
+    argv[j++] = FromWide( L"--media-library" );
     argv[j++] = FromWide( L"--no-ignore-config" );
     for (int i = 1; i < argc; i++)
     {



More information about the vlc-commits mailing list