summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-24 02:30:19 +0200
committerwm4 <wm4@nowhere>2014-04-24 02:30:19 +0200
commit8b7ac6e02960559659f5e98b4aae1f696b5ce889 (patch)
tree84282c39ed34c700c50e956859c10929337124a6 /player
parent05bad1f57a771b99da524ee6596c39ca410072fa (diff)
downloadmpv-8b7ac6e02960559659f5e98b4aae1f696b5ce889.tar.bz2
mpv-8b7ac6e02960559659f5e98b4aae1f696b5ce889.tar.xz
lua: fix stack going out of sync
This broke with recursive tables.
Diffstat (limited to 'player')
-rw-r--r--player/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua.c b/player/lua.c
index 141d95248a..4ba4198aeb 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -638,6 +638,7 @@ static void makenode(void *tmp, mpv_node *dst, lua_State *L, int t)
format = MPV_FORMAT_NODE_ARRAY;
}
}
+ lua_pop(L, 2);
}
if (format == MPV_FORMAT_NONE) {
// If all keys are integers, and they're in sequence, take it