[vlc-commits] npapi: minor simplification

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 21 10:16:02 CEST 2015


npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 30 11:42:30 2015 +0200| [d38970e5a98367f9e29d80f25dae36db6c7403f0] | committer: Hugo Beauzée-Luyssen

npapi: minor simplification

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

 npapi/npruntime/npolibvlc.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npapi/npruntime/npolibvlc.cpp b/npapi/npruntime/npolibvlc.cpp
index a16de9a..d25bd08 100644
--- a/npapi/npruntime/npolibvlc.cpp
+++ b/npapi/npruntime/npolibvlc.cpp
@@ -1157,7 +1157,7 @@ void LibvlcPlaylistNPObject::parseOptions(NPObject *obj, int *i_options,
                         options = moreOptions;
                     }
 
-                    options[nOptions++] = strdup(((NPString)(value)).UTF8Characters);
+                    options[nOptions++] = strdup(value);
                 }
                 *i_options = nOptions;
                 *ppsz_options = options;



More information about the vlc-commits mailing list