[FFmpeg-cvslog] avcodec/Makefile: Don't build mjpegenc_huffman unconditionally

Andreas Rheinhardt git at videolan.org
Tue Feb 23 12:36:22 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Wed Feb 17 23:41:58 2021 +0100| [bb0be840c542935391b742ebb8d262cb2e45ba28] | committer: Andreas Rheinhardt

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb0be840c542935391b742ebb8d262cb2e45ba28
---

 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



More information about the ffmpeg-cvslog mailing list