summaryrefslogtreecommitdiff
path: root/libavutil/opt.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-09-30 10:23:08 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-09-30 10:23:08 +0200
commite4b1fcd474767e49d78cca877dd8ff1bb4af1f5d (patch)
tree555f012211556cef5249e5d598f08a3981b855d9 /libavutil/opt.c
parent438978fb4b4663c404e7474e8ef98f3c856cd31a (diff)
lavu/opt: cosmetic fixes forgotten in the previous patch.
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c
index d826b4bcd3..a10135b9c8 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -800,11 +800,14 @@ static int is_key_char(char c)
}
/**
- * Read a key from a string. The key consists of is_key_char characters and
- * must be terminated by a character from the delim string; spaces are
- * ignored. The key buffer must be 4 bytes larger than the longest
- * acceptable key. If the key is too long, an ellipsis will be written at
- * the end. @return 0 for success (even with ellipsis), <0 for failure
+ * Read a key from a string.
+ *
+ * The key consists of is_key_char characters and must be terminated by a
+ * character from the delim string; spaces are ignored. The key buffer must
+ * be 4 bytes larger than the longest acceptable key. If the key is too
+ * long, an ellipsis will be written at the end.
+ *
+ * @return 0 for success (even with ellipsis), <0 for failure
*/
static int get_key(const char **ropts, const char *delim, char *key, unsigned key_size)
{