aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-17 23:41:58 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 10:14:25 +0100
commitbb0be840c542935391b742ebb8d262cb2e45ba28 (patch)
tree62ad23e915cc1d40af3cb0cbca74ab68e75491e2
parentbab6b88ebf6aadf3036d6d998e3e0e8b4389b6b1 (diff)
downloadffmpeg-bb0be840c542935391b742ebb8d262cb2e45ba28.tar.gz
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 <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/Makefile3
1 files changed, 1 insertions, 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