summaryrefslogtreecommitdiff
path: root/libavcodec/common.h
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-03-12 19:49:58 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-03-12 19:49:58 +0000
commit5d4ce4574b36cd9a6b32de8773c9451627b37d04 (patch)
tree91985209da90f869ad8565038419a9751fa1f1a6 /libavcodec/common.h
parent59e0ac8ea5c73d8bc55e17e046de3510da916242 (diff)
* added more options
Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r--libavcodec/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index b456af0f1b..b2bcc953e8 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -46,6 +46,8 @@
#define AVOPTION_CODEC_BOOL(name, help, field) \
{ name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_BOOL }
+#define AVOPTION_CODEC_DOUBLE(name, help, field, minv, maxv, defval) \
+ { name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_DOUBLE, minv, maxv, defval }
#define AVOPTION_CODEC_FLAG(name, help, field, flag, defval) \
{ name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_FLAG, flag, 0, defval }
#define AVOPTION_CODEC_INT(name, help, field, minv, maxv, defval) \