diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-05-29 23:16:03 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-05-30 01:07:41 +0200 |
commit | 8619362ff1de6605ffe6da8a42bdfe4fb7be75c1 (patch) | |
tree | 4eadef1f6da32669a5f4922feee83dcfc5c89e5b /ffprobe.c | |
parent | 2d52ee8a1a4f9438df90f3c95a6fbfc8f6e812f3 (diff) | |
download | ffmpeg-8619362ff1de6605ffe6da8a42bdfe4fb7be75c1.tar.gz |
ffprobe: fix C escaping.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ static const char *c_escape_str(AVBPrint *dst, const char *src, const char sep, const char *p; for (p = src; *p; p++) { - switch (*src) { + switch (*p) { case '\b': av_bprintf(dst, "%s", "\\b"); break; case '\f': av_bprintf(dst, "%s", "\\f"); break; case '\n': av_bprintf(dst, "%s", "\\n"); break; |