mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
Use conditional compilation instead of an #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27371 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
914d02fbdf
commit
771cd67118
4
Makefile
4
Makefile
@ -81,7 +81,6 @@ SRCS_COMMON = asxparser.c \
|
||||
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) += osdep/mmap_anon.c
|
||||
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 \
|
||||
|
@ -11,8 +11,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_LIBA52
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include "help_mp.h"
|
||||
#include "mpbswap.h"
|
||||
@ -541,4 +539,3 @@ static int decode_audio_dts(unsigned char *indata_ptr, int len, unsigned char *b
|
||||
|
||||
return nr_samples * 2 * 2;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user