Mercurial > mplayer.hg
diff libao2/ao_mpegpes.c @ 27430:8bc08d1b115d
100l: Rename missed preprocessor directives from a HAVE_ prefix to CONFIG_.
author | diego |
---|---|
date | Thu, 14 Aug 2008 15:48:11 +0000 |
parents | 8598536ca4f5 |
children | bb738b9ea7c4 |
line wrap: on
line diff
--- a/libao2/ao_mpegpes.c Wed Aug 13 22:09:33 2008 +0000 +++ b/libao2/ao_mpegpes.c Thu Aug 14 15:48:11 2008 +0000 @@ -10,7 +10,7 @@ #include "config.h" -#ifdef HAVE_DVB +#ifdef CONFIG_DVB #include <sys/poll.h> #include <sys/ioctl.h> #endif @@ -25,8 +25,8 @@ #include "mp_msg.h" #include "help_mp.h" -#ifdef HAVE_DVB -#ifndef HAVE_DVB_HEAD +#ifdef CONFIG_DVB +#ifndef CONFIG_DVB_HEAD #include <ost/audio.h> audioMixer_t dvb_mixer={255,255}; #else @@ -45,7 +45,7 @@ static ao_info_t info = { -#ifdef HAVE_DVB +#ifdef CONFIG_DVB "DVB audio output", #else "MPEG-PES audio output", @@ -60,7 +60,7 @@ // to set/get/query special features/parameters static int control(int cmd,void *arg){ -#ifdef HAVE_DVB +#ifdef CONFIG_DVB switch(cmd){ case AOCONTROL_GET_VOLUME: if(vo_mpegpes_fd2>=0){ @@ -92,11 +92,11 @@ static int freq=0; static int freq_id=0; -#ifdef HAVE_DVB +#ifdef CONFIG_DVB static int init_device(int card) { char ao_file[30]; -#ifndef HAVE_DVB_HEAD +#ifndef CONFIG_DVB_HEAD mp_msg(MSGT_VO,MSGL_INFO, "Opening /dev/ost/audio\n"); sprintf(ao_file, "/dev/ost/audio"); #else @@ -171,7 +171,7 @@ } card--; -#ifdef HAVE_DVB +#ifdef CONFIG_DVB if(!ao_file) return init_device(card); #else @@ -190,7 +190,7 @@ static int my_ao_write(unsigned char* data,int len){ int orig_len = len; -#ifdef HAVE_DVB +#ifdef CONFIG_DVB #define NFD 1 struct pollfd pfd[NFD];