[vlc-commits] commit: Lua: fix #3492, and commas around the name and longname. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Apr 3 19:17:46 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Apr  3 19:09:40 2010 +0200| [d77b62ee22e0cd9c552258bb3997b42ecedc74d4] | committer: Rémi Duraffort 

Lua: fix #3492, and commas around the name and longname.

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

 modules/misc/lua/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index c68de72..de9f883 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -665,7 +665,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
                     goto error;
                 }
             }
-            if( asprintf( &psz_name, "lua{sd=%s,longname=%s}",
+            if( asprintf( &psz_name, "lua{sd='%s',longname='%s'}",
                           *ppsz_file, psz_longname ) < 0 )
             {
                 free( psz_filename );



More information about the vlc-commits mailing list