diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-03-07 13:48:02 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-03-07 13:48:02 +0000 |
commit | bec89a840f65c60631c6856411ddd67ee6d55506 (patch) | |
tree | 56edd78af883256a1110958d2eb48771c958bb82 /libavcodec/common.h | |
parent | bdfcbbed79684109485fbdf0303d43540c03874f (diff) | |
download | ffmpeg-bec89a840f65c60631c6856411ddd67ee6d55506.tar.gz |
* more generic avoption_parse
* reused help ptr for sub ptr
Originally committed as revision 1642 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index a8f31a4b79..f7f70e36b3 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -57,7 +57,7 @@ { name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_STRING, .defval = val, .defstr = str } #define AVOPTION_CODEC_RCOVERRIDE(name, help, field) \ { name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_RCOVERRIDE, .defval = 0, .defstr = NULL } -#define AVOPTION_SUB(ptr) { .name = NULL, .sub = ptr } +#define AVOPTION_SUB(ptr) { .name = NULL, .help = (const char*)ptr } #define AVOPTION_END() AVOPTION_SUB(NULL) #endif /* HAVE_AV_CONFIG_H */ |