From af0ad8f0c1839985b4c9fc899fa806e3d3550530 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 7 Sep 2006 13:42:36 +0000 Subject: [PATCH] Remove unused defines, patch by takis P issaris A uhasselt P be Original thread: Re: [Ffmpeg-devel] [PATCH] Remove unused internal macros Sep 7 2006, 14:05 Originally committed as revision 6188 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 84109b6..f659335 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -21,21 +21,6 @@ # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) #endif -#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) \ - { name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_INT, minv, maxv, defval } -#define AVOPTION_CODEC_STRING(name, help, field, str, val) \ - { 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, .help = (const char*)ptr } -#define AVOPTION_END() AVOPTION_SUB(NULL) - #ifdef __MINGW32__ # ifdef _DEBUG # define DEBUG -- 2.7.4