[FFmpeg-devel] [PATCH] ffprobe: make c_escape_str() documentation more terse

Stefano Sabatini stefasab at gmail.com
Sun May 27 01:32:08 CEST 2012


Avoid to specify implementation details, better to check the code for
that.
---
 ffprobe.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 1f3497b..5fb4c47 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -497,8 +497,7 @@ static const Writer default_writer = {
 /* Compact output */
 
 /**
- * Escape \n, \r, \f, \b, \\ and sep characters contained in s, and
- * print the resulting string.
+ * Apply C-language-like string escaping.
  */
 static const char *c_escape_str(AVBPrint *dst, const char *src, const char sep, void *log_ctx)
 {
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list