mirror of https://github.com/mpv-player/mpv
lua: fix stack going out of sync
This broke with recursive tables.
This commit is contained in:
parent
05bad1f57a
commit
8b7ac6e029
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue