diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-02-06 00:29:32 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-02-06 00:29:32 +0100 |
commit | b8d78175d23c7b4cc541274e85ec6a4028445cd3 (patch) | |
tree | 98fd3f3e89741f14ca3f0e3d26f39ab1ce664ef5 /libavcodec/v408dec.c | |
parent | bb9c8d9439ce522f978d8a77888b14f2060a7e91 (diff) | |
download | ffmpeg-b8d78175d23c7b4cc541274e85ec6a4028445cd3.tar.gz |
v408: do not unconditionally compile codecs
Diffstat (limited to 'libavcodec/v408dec.c')
-rw-r--r-- | libavcodec/v408dec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/v408dec.c b/libavcodec/v408dec.c index be15aa1ae9..0f9bc9157f 100644 --- a/libavcodec/v408dec.c +++ b/libavcodec/v408dec.c @@ -103,6 +103,7 @@ static av_cold int v408_decode_close(AVCodecContext *avctx) return 0; } +#if CONFIG_AYUV_DECODER AVCodec ff_ayuv_decoder = { .name = "ayuv", .type = AVMEDIA_TYPE_VIDEO, @@ -113,7 +114,8 @@ AVCodec ff_ayuv_decoder = { .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"), }; - +#endif +#if CONFIG_V408_DECODER AVCodec ff_v408_decoder = { .name = "v408", .type = AVMEDIA_TYPE_VIDEO, @@ -124,4 +126,4 @@ AVCodec ff_v408_decoder = { .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"), }; - +#endif |