summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-04-03 13:27:48 -0700
committerJohn Stebbins <[email protected]>2018-04-03 13:27:48 -0700
commit1cede259b8adff930db948bc22c56afce96b7573 (patch)
tree5e9ac4ee08d5ffee7afde1648091e728f824b340 /libhb
parent70667ab1aa6f6b34a04e1718480015b53249ac6d (diff)
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
Diffstat (limited to 'libhb')
-rw-r--r--libhb/common.c5
1 files changed, 0 insertions, 5 deletions
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++];
}