]> git.sesse.net Git - vlc/commitdiff
Sanitize input headers (pass 3).
authorLaurent Aimar <fenrir@videolan.org>
Mon, 13 Oct 2008 18:10:03 +0000 (20:10 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 13 Oct 2008 18:10:03 +0000 (20:10 +0200)
src/Makefile.am
src/input/access.c
src/input/demux.h
src/input/input.c
src/input/input_internal.h
src/input/stream.c

index 058f4039f2647952e4f905a0ce95a1d58ceffa9c..cc7c9322621f2a582c9d1c13adafa7ca1a7aae5c 100644 (file)
@@ -306,6 +306,7 @@ SOURCES_libvlc_common = \
        input/es_out.c \
        input/input.c \
        input/meta.c \
+       input/access.h \
        input/clock.h \
        input/decoder.h \
        input/demux.h \
index 901500fc4d7055c864b725745b8880479cec530e..6cb3552bed84035d995028099eea2fb4daecb1f9 100644 (file)
@@ -26,8 +26,9 @@
 #endif
 
 #include <vlc_common.h>
+#include <libvlc.h>
 
-#include "input_internal.h"
+#include "access.h"
 
 /*****************************************************************************
  * access_InternalNew:
@@ -81,7 +82,6 @@ static access_t *access_InternalNew( vlc_object_t *p_obj, const char *psz_access
 
     if( p_access->p_module == NULL )
     {
-        msg_StackAdd( "could not create access" );
         vlc_object_detach( p_access );
         free( p_access->psz_access );
         free( p_access->psz_path );
index e206e350fcfaf675d3b4dd3ff8c4f5693c41cd82..c2f1bf56e1ac7d4d5c787eaed79e4710d1f6ce13 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef _INPUT_DEMUX_H
 #define _INPUT_DEMUX_H 1
 
-#include <vlc_common.h>
+#include <libvlc.h>
 #include <vlc_demux.h>
 
 /* stream_t *s could be null and then it mean a access+demux in one */
index 1b003229c9bad65472bd6daa9ec25bffd007af75..bf696f39ec503cac6c7b57715cebcd884cc926c5 100644 (file)
@@ -37,6 +37,7 @@
 
 #include "input_internal.h"
 #include "es_out.h"
+#include "access.h"
 #include "demux.h"
 
 #include <vlc_sout.h>
index d81f7a0b4755d6d313f495b4976a4fc37e2af220..915becf248006ef6393f9a4b882684b1357f1508 100644 (file)
@@ -372,15 +372,6 @@ char *input_CreateFilename( vlc_object_t *p_obj, const char *psz_path, const cha
 
 #define INPUT_RECORD_PREFIX "vlc-record-%Y-%m-%d-%H:%M:%S-$ N-$ p"
 
-/* Access */
-
-#define access_New( a, b, c, d ) __access_New(VLC_OBJECT(a), b, c, d )
-access_t * __access_New( vlc_object_t *p_obj, const char *psz_access,
-                          const char *psz_demux, const char *psz_path );
-access_t * access_FilterNew( access_t *p_source,
-                              const char *psz_access_filter );
-void access_Delete( access_t * );
-
 /* Stream */
 /**
  * stream_t definition
index 62af24789a9c39e7eac9f2fb01879d5679685d9c..489f6165b8088722626266d817e13cfbade049cd 100644 (file)
@@ -35,6 +35,7 @@
 #include <assert.h>
 
 #include "input_internal.h"
+#include "access.h"
 
 #undef STREAM_DEBUG