Commit bae99f76 authored by Clément Bœsch's avatar Clément Bœsch

ffprobe/flat: add escape for '`' and '$'.

parent 02ff89a1
...@@ -806,6 +806,8 @@ static const char *flat_escape_value_str(AVBPrint *dst, const char *src) ...@@ -806,6 +806,8 @@ static const char *flat_escape_value_str(AVBPrint *dst, const char *src)
case '\r': av_bprintf(dst, "%s", "\\r"); break; case '\r': av_bprintf(dst, "%s", "\\r"); break;
case '\\': av_bprintf(dst, "%s", "\\\\"); break; case '\\': av_bprintf(dst, "%s", "\\\\"); break;
case '"': av_bprintf(dst, "%s", "\\\""); break; case '"': av_bprintf(dst, "%s", "\\\""); break;
case '`': av_bprintf(dst, "%s", "\\`"); break;
case '$': av_bprintf(dst, "%s", "\\$"); break;
default: av_bprint_chars(dst, *p, 1); break; default: av_bprint_chars(dst, *p, 1); break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment