diff options
Diffstat (limited to 'misc/json.h')
-rw-r--r-- | misc/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/json.h b/misc/json.h index 43d565b275..b99fc36c41 100644 --- a/misc/json.h +++ b/misc/json.h @@ -21,6 +21,8 @@ // We reuse mpv_node. #include "libmpv/client.h" +#define MAX_JSON_DEPTH 50 + int json_parse(void *ta_parent, struct mpv_node *dst, char **src, int max_depth); void json_skip_whitespace(char **src); int json_write(char **s, struct mpv_node *src); |