summaryrefslogtreecommitdiff
path: root/libavcodec/opt.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2007-01-21 12:32:01 +0000
committerLuca Barbato <lu_zero@gentoo.org>2007-01-21 12:32:01 +0000
commitf8a32f450ade2449873c57e73ad04622c68af136 (patch)
tree7bdb004287578734015314923c85bee6e0692767 /libavcodec/opt.h
parent5ecfa9f5fcc434be7b93b5abacfa336f54cac671 (diff)
Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the other Diego"
Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.h')
-rw-r--r--libavcodec/opt.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/opt.h b/libavcodec/opt.h
index b8a17031b7..ff65456d85 100644
--- a/libavcodec/opt.h
+++ b/libavcodec/opt.h
@@ -68,15 +68,15 @@ typedef struct AVOption {
} AVOption;
-AVOption *av_set_string(void *obj, const char *name, const char *val);
-AVOption *av_set_double(void *obj, const char *name, double n);
-AVOption *av_set_q(void *obj, const char *name, AVRational n);
-AVOption *av_set_int(void *obj, const char *name, int64_t n);
-double av_get_double(void *obj, const char *name, AVOption **o_out);
-AVRational av_get_q(void *obj, const char *name, AVOption **o_out);
-int64_t av_get_int(void *obj, const char *name, AVOption **o_out);
-const char *av_get_string(void *obj, const char *name, AVOption **o_out, char *buf, int buf_len);
-AVOption *av_next_option(void *obj, AVOption *last);
+const AVOption *av_set_string(void *obj, const char *name, const char *val);
+const AVOption *av_set_double(void *obj, const char *name, double n);
+const AVOption *av_set_q(void *obj, const char *name, AVRational n);
+const AVOption *av_set_int(void *obj, const char *name, int64_t n);
+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);
+const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len);
+const AVOption *av_next_option(void *obj, const AVOption *last);
int av_opt_show(void *obj, void *av_log_obj);
void av_opt_set_defaults(void *s);