[vlc-commits] DVB access: remove outdated defines
Jean-Baptiste Kempf
git at videolan.org
Thu Mar 3 23:00:30 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 3 22:59:09 2011 +0100| [19570f8aad6ad01c1a52c65220d298d63e3e2b4f] | committer: Jean-Baptiste Kempf
DVB access: remove outdated defines
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19570f8aad6ad01c1a52c65220d298d63e3e2b4f
---
modules/access/dvb/access.c | 27 ++++++++-------------------
modules/access/dvb/en50221.c | 27 ++++++++-------------------
modules/access/dvb/http.c | 27 ++++++++-------------------
modules/access/dvb/linux_dvb.c | 27 ++++++++-------------------
modules/access/dvb/scan.c | 27 ++++++++-------------------
modules/access/dvb/scan.h | 7 -------
6 files changed, 40 insertions(+), 102 deletions(-)
diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 78abd1c..f4f2e1a 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -49,25 +49,14 @@
#include <errno.h>
/* Include dvbpsi headers */
-#ifdef HAVE_DVBPSI_DR_H
-# include <dvbpsi/dvbpsi.h>
-# include <dvbpsi/descriptor.h>
-# include <dvbpsi/pat.h>
-# include <dvbpsi/pmt.h>
-# include <dvbpsi/dr.h>
-# include <dvbpsi/psi.h>
-# include <dvbpsi/demux.h>
-# include <dvbpsi/sdt.h>
-#else
-# include "dvbpsi.h"
-# include "descriptor.h"
-# include "tables/pat.h"
-# include "tables/pmt.h"
-# include "descriptors/dr.h"
-# include "psi.h"
-# include "demux.h"
-# include "tables/sdt.h"
-#endif
+# include <dvbpsi/dvbpsi.h>
+# include <dvbpsi/descriptor.h>
+# include <dvbpsi/pat.h>
+# include <dvbpsi/pmt.h>
+# include <dvbpsi/dr.h>
+# include <dvbpsi/psi.h>
+# include <dvbpsi/demux.h>
+# include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
diff --git a/modules/access/dvb/en50221.c b/modules/access/dvb/en50221.c
index 072d5b3..429ac2d 100644
--- a/modules/access/dvb/en50221.c
+++ b/modules/access/dvb/en50221.c
@@ -45,25 +45,14 @@
#include <linux/dvb/ca.h>
/* Include dvbpsi headers */
-#ifdef HAVE_DVBPSI_DR_H
-# include <dvbpsi/dvbpsi.h>
-# include <dvbpsi/descriptor.h>
-# include <dvbpsi/pat.h>
-# include <dvbpsi/pmt.h>
-# include <dvbpsi/dr.h>
-# include <dvbpsi/psi.h>
-# include <dvbpsi/demux.h>
-# include <dvbpsi/sdt.h>
-#else
-# include "dvbpsi.h"
-# include "descriptor.h"
-# include "tables/pat.h"
-# include "tables/pmt.h"
-# include "descriptors/dr.h"
-# include "psi.h"
-# include "demux.h"
-# include "tables/sdt.h"
-#endif
+# include <dvbpsi/dvbpsi.h>
+# include <dvbpsi/descriptor.h>
+# include <dvbpsi/pat.h>
+# include <dvbpsi/pmt.h>
+# include <dvbpsi/dr.h>
+# include <dvbpsi/psi.h>
+# include <dvbpsi/demux.h>
+# include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
diff --git a/modules/access/dvb/http.c b/modules/access/dvb/http.c
index 159a0d7..2a1f8e9 100644
--- a/modules/access/dvb/http.c
+++ b/modules/access/dvb/http.c
@@ -38,25 +38,14 @@
#include <sys/types.h>
/* Include dvbpsi headers */
-#ifdef HAVE_DVBPSI_DR_H
-# include <dvbpsi/dvbpsi.h>
-# include <dvbpsi/descriptor.h>
-# include <dvbpsi/pat.h>
-# include <dvbpsi/pmt.h>
-# include <dvbpsi/dr.h>
-# include <dvbpsi/psi.h>
-# include <dvbpsi/demux.h>
-# include <dvbpsi/sdt.h>
-#else
-# include "dvbpsi.h"
-# include "descriptor.h"
-# include "tables/pat.h"
-# include "tables/pmt.h"
-# include "descriptors/dr.h"
-# include "psi.h"
-# include "demux.h"
-# include "tables/sdt.h"
-#endif
+# include <dvbpsi/dvbpsi.h>
+# include <dvbpsi/descriptor.h>
+# include <dvbpsi/pat.h>
+# include <dvbpsi/pmt.h>
+# include <dvbpsi/dr.h>
+# include <dvbpsi/psi.h>
+# include <dvbpsi/demux.h>
+# include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index d11a409..d10680d 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -48,25 +48,14 @@
#include <linux/dvb/ca.h>
/* Include dvbpsi headers */
-#ifdef HAVE_DVBPSI_DR_H
-# include <dvbpsi/dvbpsi.h>
-# include <dvbpsi/descriptor.h>
-# include <dvbpsi/pat.h>
-# include <dvbpsi/pmt.h>
-# include <dvbpsi/dr.h>
-# include <dvbpsi/psi.h>
-# include <dvbpsi/demux.h>
-# include <dvbpsi/sdt.h>
-#else
-# include "dvbpsi.h"
-# include "descriptor.h"
-# include "tables/pat.h"
-# include "tables/pmt.h"
-# include "descriptors/dr.h"
-# include "psi.h"
-# include "demux.h"
-# include "tables/sdt.h"
-#endif
+# include <dvbpsi/dvbpsi.h>
+# include <dvbpsi/descriptor.h>
+# include <dvbpsi/pat.h>
+# include <dvbpsi/pmt.h>
+# include <dvbpsi/dr.h>
+# include <dvbpsi/psi.h>
+# include <dvbpsi/demux.h>
+# include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 92655cd..e01e416 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -42,25 +42,14 @@
#include <poll.h>
/* Include dvbpsi headers */
-#ifdef HAVE_DVBPSI_DR_H
-# include <dvbpsi/dvbpsi.h>
-# include <dvbpsi/descriptor.h>
-# include <dvbpsi/pat.h>
-# include <dvbpsi/pmt.h>
-# include <dvbpsi/dr.h>
-# include <dvbpsi/psi.h>
-# include <dvbpsi/demux.h>
-# include <dvbpsi/sdt.h>
-#else
-# include "dvbpsi.h"
-# include "descriptor.h"
-# include "tables/pat.h"
-# include "tables/pmt.h"
-# include "descriptors/dr.h"
-# include "psi.h"
-# include "demux.h"
-# include "tables/sdt.h"
-#endif
+# include <dvbpsi/dvbpsi.h>
+# include <dvbpsi/descriptor.h>
+# include <dvbpsi/pat.h>
+# include <dvbpsi/pmt.h>
+# include <dvbpsi/dr.h>
+# include <dvbpsi/psi.h>
+# include <dvbpsi/demux.h>
+# include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
diff --git a/modules/access/dvb/scan.h b/modules/access/dvb/scan.h
index 1cd4bb5..41609ea 100644
--- a/modules/access/dvb/scan.h
+++ b/modules/access/dvb/scan.h
@@ -21,17 +21,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-#ifdef HAVE_DVBPSI_DR_H
#ifdef _DVBPSI_DR_43_H_
# define DVBPSI_USE_NIT 1
# include <dvbpsi/nit.h>
#endif
-#else
-#ifdef _DVBPSI_DR_43_H_
-# define DVBPSI_USE_NIT 1
-# include "nit.h"
-#endif
-#endif
#ifndef DVBPSI_USE_NIT
# warning NIT is not supported by your libdvbpsi version
More information about the vlc-commits
mailing list