diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-06-04 19:14:51 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-06-04 19:15:39 +0200 |
commit | bae99f7651f2506d8f55ecf38ef444085e01b578 (patch) | |
tree | fa33a33ae7577d2e8bf95ad05dd1595458d1ed78 | |
parent | 02ff89a1cdd91639f923ffa46be5dd39998cb901 (diff) | |
download | ffmpeg-bae99f7651f2506d8f55ecf38ef444085e01b578.tar.gz |
ffprobe/flat: add escape for '`' and '$'.
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 '\\': 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; } } |