summaryrefslogtreecommitdiffstats
path: root/misc/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/json.c')
-rw-r--r--misc/json.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/json.c b/misc/json.c
index 489f087987..b301296ebe 100644
--- a/misc/json.c
+++ b/misc/json.c
@@ -70,6 +70,11 @@ static void eat_ws(char **src)
}
}
+void json_skip_whitespace(char **src)
+{
+ eat_ws(src);
+}
+
static int read_str(void *ta_parent, struct mpv_node *dst, char **src)
{
if (!eat_c(src, '"'))