summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-23 10:23:57 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-10 20:27:30 +0200
commitc8d787d2ef1c6dc0af29acb8bac97a6ae67d0520 (patch)
tree9e411f839c9a2df2ea6b729a4225a34ef54d251e /libavutil/opt.h
parent1703013cb7f06bb6304cbf3c5fd650d8076ee295 (diff)
AVOptions: split av_set_string3 into opt type-specific functions
Also stop attempting to honor the alloc parameter, as things break horribly in that case. It will be removed in upcoming successor to av_set_string3.
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index c6a59196be..50c0a33bc7 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -129,9 +129,7 @@ const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int m
* similarly, '-' unsets a flag.
* @param[out] o_out if non-NULL put here a pointer to the AVOption
* found
- * @param alloc when 1 then the old value will be av_freed() and the
- * new av_strduped()
- * when 0 then no av_free() nor av_strdup() will be used
+ * @param alloc this parameter is currently ignored
* @return 0 if the value has been set, or an AVERROR code in case of
* error:
* AVERROR_OPTION_NOT_FOUND if no matching option exists