diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
commit | b250f9c66d3ddd84652d158fb979a5f21e3f2c71 (patch) | |
tree | ef84366029d6f8af6ed82e90c5f188bb7dfc844d /libavcodec/vcr1.c | |
parent | 959da985b03570cfe7d239c0ba6d550ecb04c460 (diff) | |
download | ffmpeg-b250f9c66d3ddd84652d158fb979a5f21e3f2c71.tar.gz |
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r-- | libavcodec/vcr1.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index d9d4ce9f61..c3b35567ea 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -32,6 +32,7 @@ /* Disable the encoder. */ #undef CONFIG_VCR1_ENCODER +#define CONFIG_VCR1_ENCODER 0 typedef struct VCR1Context{ AVCodecContext *avctx; @@ -116,7 +117,7 @@ static int decode_frame(AVCodecContext *avctx, return buf_size; } -#ifdef CONFIG_VCR1_ENCODER +#if CONFIG_VCR1_ENCODER static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ VCR1Context * const a = avctx->priv_data; AVFrame *pict = data; @@ -156,7 +157,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ return 0; } -#ifdef CONFIG_VCR1_ENCODER +#if CONFIG_VCR1_ENCODER static av_cold int encode_init(AVCodecContext *avctx){ common_init(avctx); @@ -178,7 +179,7 @@ AVCodec vcr1_decoder = { .long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"), }; -#ifdef CONFIG_VCR1_ENCODER +#if CONFIG_VCR1_ENCODER AVCodec vcr1_encoder = { "vcr1", CODEC_TYPE_VIDEO, |