changeset 2830:596a6ba3520f

never include files from public headers...
author arpi
date Sun, 11 Nov 2001 13:47:42 +0000
parents 47620dd2e8d6
children 7746bf29000a
files libmpdemux/tv.c libmpdemux/tv.h libmpdemux/tvi_dummy.c libmpdemux/tvi_v4l.c
diffstat 4 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tv.c	Sun Nov 11 13:39:10 2001 +0000
+++ b/libmpdemux/tv.c	Sun Nov 11 13:47:42 2001 +0000
@@ -21,6 +21,11 @@
 #include "stream.h"
 #include "demuxer.h"
 #include "stheader.h"
+
+#include "../libao2/afmt.h"
+#include "../libvo/img_format.h"
+#include "../libvo/fastmemcpy.h"
+
 #include "tv.h"
 
 /* some default values */
--- a/libmpdemux/tv.h	Sun Nov 11 13:39:10 2001 +0000
+++ b/libmpdemux/tv.h	Sun Nov 11 13:47:42 2001 +0000
@@ -1,12 +1,11 @@
-#include "config.h"
 
 extern int tv_param_on;
 
 #ifdef USE_TV
-#include "../libao2/afmt.h"
-#include "../libvo/img_format.h"
-#include "../libvo/fastmemcpy.h"
-#include "mp_msg.h"
+//#include "../libao2/afmt.h"
+//#include "../libvo/img_format.h"
+//#include "../libvo/fastmemcpy.h"
+//#include "mp_msg.h"
 
 extern unsigned long tv_param_freq;
 extern char *tv_param_channel;
--- a/libmpdemux/tvi_dummy.c	Sun Nov 11 13:39:10 2001 +0000
+++ b/libmpdemux/tvi_dummy.c	Sun Nov 11 13:47:42 2001 +0000
@@ -7,6 +7,7 @@
 #ifdef USE_TV
 
 #include <stdio.h>
+#include "../libvo/img_format.h"
 #include "tv.h"
 
 /* information about this file */
--- a/libmpdemux/tvi_v4l.c	Sun Nov 11 13:39:10 2001 +0000
+++ b/libmpdemux/tvi_v4l.c	Sun Nov 11 13:47:42 2001 +0000
@@ -23,6 +23,11 @@
 #include <unistd.h>
 #include <sys/mman.h>
 
+#include "mp_msg.h"
+#include "../libao2/afmt.h"
+#include "../libvo/img_format.h"
+#include "../libvo/fastmemcpy.h"
+
 #include "tv.h"
 
 static tvi_info_t info = {