]> git.sesse.net Git - vlc/commitdiff
Cosmetics.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 1 Dec 2008 22:19:12 +0000 (23:19 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 4 Dec 2008 19:34:06 +0000 (20:34 +0100)
src/input/demux.h
src/input/input.c

index 77ea695d93f50b596d0af8e6bdf6bd94d28acec7..084185f590b516143ce81e2208248f5b7e838443 100644 (file)
@@ -36,9 +36,9 @@
 
 /* stream_t *s could be null and then it mean a access+demux in one */
 #define demux_New( a, b, c, d, e, f,g ) __demux_New(VLC_OBJECT(a),b,c,d,e,f,g)
-demux_t *__demux_New(vlc_object_t *p_obj, const char *psz_access, const char *psz_demux, const char *psz_path, stream_t *s, es_out_t *out, bool );
+demux_t *__demux_New( vlc_object_t *p_obj, const char *psz_access, const char *psz_demux, const char *psz_path, stream_t *s, es_out_t *out, bool );
 
-void demux_Delete(demux_t *);
+void demux_Delete( demux_t * );
 
 static inline int demux_Demux( demux_t *p_demux )
 {
index 54302376ca3370717222dadaca7fdacf5199826b..7a29981c16bd28158a330b7bb4fc419fb0ce3ecf 100644 (file)
@@ -560,7 +560,7 @@ static void MainLoopDemux( input_thread_t *p_input, bool *pb_changed, mtime_t *p
         ( p_input->p->i_run > 0 && *pi_start_mdate+p_input->p->i_run < mdate() ) )
         i_ret = 0; /* EOF */
     else
-        i_ret = p_input->p->input.p_demux->pf_demux(p_input->p->input.p_demux);
+        i_ret = demux_Demux( p_input->p->input.p_demux );
 
     if( i_ret > 0 )
     {
@@ -2650,13 +2650,13 @@ static void SlaveDemux( input_thread_t *p_input )
                 if( i_stime >= i_time )
                     break;
 
-                if( ( i_ret = in->p_demux->pf_demux( in->p_demux ) ) <= 0 )
+                if( ( i_ret = demux_Demux( in->p_demux ) ) <= 0 )
                     break;
             }
         }
         else
         {
-            i_ret = in->p_demux->pf_demux( in->p_demux );
+            i_ret = demux_Demux( in->p_demux );
         }
 
         if( i_ret <= 0 )