From 2f02bbcca050936686482453078e83dc25493da0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 27 Feb 2014 15:02:25 -0800 Subject: build: Let the ffvhuff decoder/encoder depend on the huffyuv decoder/encoder Almost all of the code is shared so there is little point in enabling one decoder/encoder without the other. --- libavcodec/huffyuvdec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/huffyuvdec.c') diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index ed490d4bd7..86d15819b4 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -737,7 +737,6 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -#if CONFIG_HUFFYUV_DECODER AVCodec ff_huffyuv_decoder = { .name = "huffyuv", .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), @@ -751,7 +750,6 @@ AVCodec ff_huffyuv_decoder = { CODEC_CAP_FRAME_THREADS, .init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy), }; -#endif #if CONFIG_FFVHUFF_DECODER AVCodec ff_ffvhuff_decoder = { -- cgit v1.2.3