On Wed, Aug 01, 2012 at 02:32:24PM +0100, Mans Rullgard wrote:
> This allows building dct-test even if aandcttab.o is not pulled in
> by any enabled codec.  The DCT with which these tables are used does
> not use them directly, so building it without the tables is possible.
> 
> Signed-off-by: Mans Rullgard <[email protected]>
> ---
>  libavcodec/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/Makefile b/libavcodec/Makefile
> index 7fc5059..1848fef 100644
> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -747,7 +747,7 @@ HOSTPROGS = aac_tablegen                                  
>               \
>  
>  CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
>  
> -$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
> +$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
>  
>  TRIG_TABLES  = cos cos_fixed sin
>  TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)
> -- 

looks OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to