summaryrefslogtreecommitdiff
path: root/libavutil/opt.h
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-27 00:11:01 +0100
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-27 23:27:14 +0100
commitf00e9c4b10f5ab7cd382d3019eb7bee13fcc3866 (patch)
treebd64d7ba575ecf9ce97abe689275a951cdbbebb4 /libavutil/opt.h
parent3ff39901049f430f82d252eab3f4c0800ef144e5 (diff)
downloadffmpeg-f00e9c4b10f5ab7cd382d3019eb7bee13fcc3866.tar.gz
lavu/opt: add consts where possible
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index 7338e78368..d611c9b3ce 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -33,6 +33,7 @@
#include "log.h"
#include "pixfmt.h"
#include "samplefmt.h"
+#include "version.h"
/**
* @defgroup avoptions AVOptions
@@ -416,7 +417,7 @@ double av_get_double(void *obj, const char *name, const AVOption **o_out);
AVRational av_get_q(void *obj, const char *name, const AVOption **o_out);
int64_t av_get_int(void *obj, const char *name, const AVOption **o_out);
attribute_deprecated const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len);
-attribute_deprecated const AVOption *av_next_option(void *obj, const AVOption *last);
+attribute_deprecated const AVOption *av_next_option(FF_CONST_AVUTIL55 void *obj, const AVOption *last);
#endif
/**
@@ -673,7 +674,7 @@ const AVOption *av_opt_find2(void *obj, const char *name, const char *unit,
* or NULL
* @return next AVOption or NULL
*/
-const AVOption *av_opt_next(void *obj, const AVOption *prev);
+const AVOption *av_opt_next(FF_CONST_AVUTIL55 void *obj, const AVOption *prev);
/**
* Iterate over AVOptions-enabled children of obj.
@@ -825,7 +826,7 @@ int av_opt_query_ranges(AVOptionRanges **, void *obj, const char *key, int flags
* @param src Object to copy into
* @return 0 on success, negative on error
*/
-int av_opt_copy(void *dest, void *src);
+int av_opt_copy(void *dest, FF_CONST_AVUTIL55 void *src);
/**
* Get a default list of allowed ranges for the given option.