[vlc-commits] Lua: kill some relocs, pack

Rémi Denis-Courmont git at videolan.org
Tue Jul 10 16:24:38 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 10 17:24:07 2012 +0300| [f78dac5846fb6200c189bf8fc6acb93c07d51695] | committer: Rémi Denis-Courmont

Lua: kill some relocs, pack

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

 modules/lua/libs/input.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c
index a9c167d..0fb2e72 100644
--- a/modules/lua/libs/input.c
+++ b/modules/lua/libs/input.c
@@ -321,8 +321,8 @@ static int vlclua_input_item_set_meta( lua_State *L )
 #define META_TYPE( n, s ) { s, vlc_meta_ ## n },
     static const struct
     {
-        const char *psz_name;
-        vlc_meta_type_t type;
+        const char psz_name[15];
+        unsigned char type;
     } pp_meta_types[] = {
         META_TYPE( Title, "title" )
         META_TYPE( Artist, "artist" )



More information about the vlc-commits mailing list