From bb0be840c542935391b742ebb8d262cb2e45ba28 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 17 Feb 2021 23:41:58 +0100 Subject: [PATCH] avcodec/Makefile: Don't build mjpegenc_huffman unconditionally Only the mjpeg and amv encoders as well as its testprogram actually need it. Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 379c91af8c..88884b69ab 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -48,7 +48,6 @@ OBJS = ac3_parser.o \ mediacodec.o \ mpeg12framerate.o \ options.o \ - mjpegenc_huffman.o \ parser.o \ parsers.o \ profiles.o \ @@ -1220,7 +1219,6 @@ TESTPROGS = avpacket \ jpeg2000dwt \ mathops \ options \ - mjpegenc_huffman \ utils \ TESTPROGS-$(CONFIG_CABAC) += cabac @@ -1229,6 +1227,7 @@ TESTPROGS-$(CONFIG_FFT) += fft fft-fixed32 TESTPROGS-$(CONFIG_GOLOMB) += golomb TESTPROGS-$(CONFIG_IDCTDSP) += dct TESTPROGS-$(CONFIG_IIRFILTER) += iirfilter +TESTPROGS-$(CONFIG_MJPEG_ENCODER) += mjpegenc_huffman TESTPROGS-$(HAVE_MMX) += motion TESTPROGS-$(CONFIG_MPEGVIDEO) += mpeg12framerate TESTPROGS-$(CONFIG_H264_METADATA_BSF) += h264_levels