]> git.sesse.net Git - vlc/blobdiff - lib/core.c
Add bluray to GuessType()
[vlc] / lib / core.c
index f842b57860ffd279357c7f4505f939ab89bc47e7..fa5c4de6d0c0a623c9b271f8fd748da0e199c93c 100644 (file)
@@ -38,8 +38,6 @@
 
 #include "../src/revision.c"
 
-static const char nomemstr[] = "Insufficient memory";
-
 libvlc_instance_t * libvlc_new( int argc, const char *const *argv )
 {
     libvlc_threads_init ();
@@ -156,7 +154,7 @@ void libvlc_set_app_id(libvlc_instance_t *p_i, const char *id,
 
     var_SetString(p_libvlc, "app-id", id ? id : "");
     var_SetString(p_libvlc, "app-version", version ? version : "");
-    var_SetString(p_libvlc, "app-version", icon ? icon : "");
+    var_SetString(p_libvlc, "app-icon-name", icon ? icon : "");
 }
 
 const char * libvlc_get_version(void)