From 1cede259b8adff930db948bc22c56afce96b7573 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 3 Apr 2018 13:27:48 -0700 Subject: libhb: don't drop "escape" char in hb_str_vsplit It's just wrong to begin with. And it may not be an escape char anyway. Could be a directory separator. Fixes https://github.com/HandBrake/HandBrake/issues/1249 --- libhb/common.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libhb') diff --git a/libhb/common.c b/libhb/common.c index 7bc9438ec..0b23fda60 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -5462,11 +5462,6 @@ static char *strndup_quote(const char *str, char q, int len) { if (str[src] == q) src++; - else if (str[src] == '\\' && str[src+1] != 0) - { - res[dst++] = str[src+1]; - src += 2; - } else res[dst++] = str[src++]; } -- cgit v1.2.3