diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-02-25 21:43:19 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-02-25 21:43:19 +0000 |
commit | 57b98634c41a6e899f3bad9fd3a4251930a01ffc (patch) | |
tree | 95167a0618129abec4106f37c222e6421f1afa6e /libavcodec | |
parent | a02dd7ebdd0b695184d09a898173ca59be0dec6c (diff) | |
download | ffmpeg-streaming-57b98634c41a6e899f3bad9fd3a4251930a01ffc.zip ffmpeg-streaming-57b98634c41a6e899f3bad9fd3a4251930a01ffc.tar.gz |
compile various fdct only when encoders are enabled
Originally committed as revision 12219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index e7d7e23..3a7d791 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -13,11 +13,8 @@ OBJS = allcodecs.o \ dsputil.o \ error_resilience.o \ eval.o \ - faandct.o \ imgconvert.o \ jrevdct.o \ - jfdctfst.o \ - jfdctint.o\ mpeg12.o \ mpeg12data.o \ mpegvideo.o \ @@ -32,6 +29,8 @@ OBJS = allcodecs.o \ HEADERS = avcodec.h opt.h +OBJS-$(CONFIG_ENCODERS) += faandct.o jfdctfst.o jfdctint.o + OBJS-$(CONFIG_AASC_DECODER) += aasc.o OBJS-$(CONFIG_AC3_DECODER) += ac3dec.o ac3tab.o ac3.o mdct.o fft.o OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o |