# HG changeset patch # User diego # Date 1217413583 0 # Node ID 3d8e6afe3f9fd2a63ff43713c8c7ae0533fd57c2 # Parent b23ce988b57b83ac3cfb4c81d0a780c713835761 Use conditional compilation instead of an #ifdef around the whole file. diff -r b23ce988b57b -r 3d8e6afe3f9f Makefile --- a/Makefile Wed Jul 30 09:49:59 2008 +0000 +++ b/Makefile Wed Jul 30 10:26:23 2008 +0000 @@ -81,7 +81,6 @@ libmpcodecs/ad_alaw.c \ libmpcodecs/ad_dk3adpcm.c \ libmpcodecs/ad_dvdpcm.c \ - libmpcodecs/ad_hwac3.c \ libmpcodecs/ad_hwmpa.c \ libmpcodecs/ad_imaadpcm.c \ libmpcodecs/ad_msadpcm.c \ @@ -256,7 +255,8 @@ SRCS_COMMON-$(HAVE_SYS_MMAN_H) += libaf/af_export.c SRCS_COMMON-$(JPEG) += libmpcodecs/vd_ijpg.c SRCS_COMMON-$(LADSPA) += libaf/af_ladspa.c -SRCS_COMMON-$(LIBA52) += libmpcodecs/ad_liba52.c \ +SRCS_COMMON-$(LIBA52) += libmpcodecs/ad_hwac3.c \ + libmpcodecs/ad_liba52.c \ liba52/crc.c \ liba52/resample.c \ liba52/bit_allocate.c \ diff -r b23ce988b57b -r 3d8e6afe3f9f libmpcodecs/ad_hwac3.c --- a/libmpcodecs/ad_hwac3.c Wed Jul 30 09:49:59 2008 +0000 +++ b/libmpcodecs/ad_hwac3.c Wed Jul 30 10:26:23 2008 +0000 @@ -11,8 +11,6 @@ #include #include "config.h" -#ifdef USE_LIBA52 - #include "mp_msg.h" #include "help_mp.h" #include "mpbswap.h" @@ -541,4 +539,3 @@ return nr_samples * 2 * 2; } -#endif