[vlc-devel] commit: Cosmetics. (Laurent Aimar )

git version control git at videolan.org
Fri Jul 17 18:48:58 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Jul 17 18:44:53 2009 +0200| [9d0c20c58482475accbd41a25d2e38aa0e5e76ab] | committer: Laurent Aimar 

Cosmetics.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d0c20c58482475accbd41a25d2e38aa0e5e76ab
---

 src/input/input.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index ca80852..86aa025 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2803,7 +2803,7 @@ static void SlaveDemux( input_thread_t *p_input, bool *pb_demux_polled )
     for( i = 0; i < p_input->p->i_slave; i++ )
     {
         input_source_t *in = p_input->p->slave[i];
-        int i_ret = 1;
+        int i_ret;
 
         if( in->b_eof )
             continue;
@@ -2822,7 +2822,10 @@ static void SlaveDemux( input_thread_t *p_input, bool *pb_demux_polled )
                 }
 
                 if( i_stime >= i_time )
+                {
+                    i_ret = 1;
                     break;
+                }
 
                 if( ( i_ret = demux_Demux( in->p_demux ) ) <= 0 )
                     break;




More information about the vlc-devel mailing list