[FFmpeg-cvslog] r12219 - trunk/libavcodec/Makefile

Rich Felker dalias
Mon Feb 25 23:16:13 CET 2008


On Mon, Feb 25, 2008 at 10:43:19PM +0100, aurel wrote:
> Author: aurel
> Date: Mon Feb 25 22:43:19 2008
> New Revision: 12219
> 
> Log:
> compile various fdct only when encoders are enabled
> 
> Modified:
>    trunk/libavcodec/Makefile
> 
> Modified: trunk/libavcodec/Makefile
> ==============================================================================
> --- trunk/libavcodec/Makefile	(original)
> +++ trunk/libavcodec/Makefile	Mon Feb 25 22:43:19 2008
> @@ -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

Maybe this is off-topic, but is it possible to make it so that, even
if these have been compiled, they do not get pulled in by static
linking is no encoders are used? I doubt the API is clean enough to
allow that yet but it would be a nice long-term goal.

Rich




More information about the ffmpeg-cvslog mailing list