summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-27 15:02:25 -0800
committerDiego Biurrun <diego@biurrun.de>2014-02-28 21:17:01 +0100
commit2f02bbcca050936686482453078e83dc25493da0 (patch)
treef14a4fa553b8c29dea62416fadc903bfbca1cc90 /libavcodec
parent34150be515cd9c43b0b679806b8d01774960af78 (diff)
downloadffmpeg-streaming-2f02bbcca050936686482453078e83dc25493da0.zip
ffmpeg-streaming-2f02bbcca050936686482453078e83dc25493da0.tar.gz
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.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile2
-rw-r--r--libavcodec/huffyuvdec.c2
-rw-r--r--libavcodec/huffyuvenc.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 1bd4ace..44d5ae6 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -168,8 +168,6 @@ OBJS-$(CONFIG_ESCAPE124_DECODER) += escape124.o
OBJS-$(CONFIG_ESCAPE130_DECODER) += escape130.o
OBJS-$(CONFIG_FFV1_DECODER) += ffv1dec.o ffv1.o
OBJS-$(CONFIG_FFV1_ENCODER) += ffv1enc.o ffv1.o
-OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o huffyuvdec.o
-OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o huffyuvenc.o
OBJS-$(CONFIG_FIC_DECODER) += fic.o
OBJS-$(CONFIG_FLAC_DECODER) += flacdec.o flacdata.o flac.o flacdsp.o
OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o flacdata.o flac.o flacdsp.o
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
index ed490d4..86d1581 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 = {
diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c
index ec07abd..1442b75 100644
--- a/libavcodec/huffyuvenc.c
+++ b/libavcodec/huffyuvenc.c
@@ -682,7 +682,6 @@ static av_cold int encode_end(AVCodecContext *avctx)
return 0;
}
-#if CONFIG_HUFFYUV_ENCODER
AVCodec ff_huffyuv_encoder = {
.name = "huffyuv",
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"),
@@ -697,7 +696,6 @@ AVCodec ff_huffyuv_encoder = {
AV_PIX_FMT_RGB32, AV_PIX_FMT_NONE
},
};
-#endif
#if CONFIG_FFVHUFF_ENCODER
AVCodec ff_ffvhuff_encoder = {
OpenPOWER on IntegriCloud