summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorjaf <jaf@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-05 21:49:20 +0000
committerjaf <jaf@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-05 21:49:20 +0000
commit15c3567aa8c5d985ded64b9361dadb54fc950896 (patch)
treecf6edaab7104cfe05183ba795723de381e8605d8 /libvo
parent4f4d79239fac1d4d9c6773a84dff39e740c86421 (diff)
downloadmpv-15c3567aa8c5d985ded64b9361dadb54fc950896.tar.bz2
mpv-15c3567aa8c5d985ded64b9361dadb54fc950896.tar.xz
autodetecting for dvb-cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2728 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/Makefile2
-rw-r--r--libvo/vo_mpegpes.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/libvo/Makefile b/libvo/Makefile
index 11475e51b6..7964492963 100644
--- a/libvo/Makefile
+++ b/libvo/Makefile
@@ -13,7 +13,7 @@ SRCS += vo_vesa.c
endif
endif
-CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(MLIB_INC) -DMPG12PLAY #-Wall
+CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(MLIB_INC) $(DVB_INC) -DMPG12PLAY #-Wall
# -I/usr/X11R6/include/
.SUFFIXES: .c .o
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index 5a9b427740..4de074782b 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -1,4 +1,3 @@
-#undef HAVE_DVB
#define PES_MAX_SIZE 2048
/*
* Based on:
@@ -22,6 +21,8 @@
#include <sys/stat.h>
#include <fcntl.h>
+#include "config.h"
+
#ifdef HAVE_DVB
#include <sys/poll.h>