Mercurial > libavcodec.hg
diff common.h @ 1114:e4762efc3617 libavcodec
* more generic avoption_parse
* reused help ptr for sub ptr
author | kabi |
---|---|
date | Fri, 07 Mar 2003 13:48:02 +0000 |
parents | 54be6aece1be |
children | 8248e652d64e |
line wrap: on
line diff
--- a/common.h Fri Mar 07 12:37:49 2003 +0000 +++ b/common.h Fri Mar 07 13:48:02 2003 +0000 @@ -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 */