summaryrefslogtreecommitdiff
path: root/libavcodec/opt.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-07 02:03:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-07 02:03:44 +0000
commitbc2a1c340a12a452accad5c3807c9e940cf86535 (patch)
treec5050e1ac486271e4fb1a70b76cc03241f75a943 /libavcodec/opt.h
parent3caa0d9343b35d44db21ef362a1536df0ce15188 (diff)
make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.h')
-rw-r--r--libavcodec/opt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/opt.h b/libavcodec/opt.h
index ff65456d85..1d750ff296 100644
--- a/libavcodec/opt.h
+++ b/libavcodec/opt.h
@@ -68,6 +68,7 @@ typedef struct AVOption {
} AVOption;
+const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int mask, int flags);
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);