]> git.sesse.net Git - vlc/commitdiff
* modules/demux/ogg.c: fix for --input-repeat
authorGildas Bazin <gbazin@videolan.org>
Wed, 7 Jul 2004 13:32:46 +0000 (13:32 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 7 Jul 2004 13:32:46 +0000 (13:32 +0000)
modules/demux/ogg.c

index 4eb9cc2beca8f13b027501a0cb2fc8a4b195bab6..ff686553e0946762987e3e653c25b64977f1dc12 100644 (file)
@@ -247,8 +247,8 @@ static int Demux( demux_t * p_demux )
             Ogg_EndOfStream( p_demux );
         }
 
-        if( Ogg_BeginningOfStream( p_demux ) != VLC_SUCCESS ) return 0;
         p_sys->i_eos = 0;
+        if( Ogg_BeginningOfStream( p_demux ) != VLC_SUCCESS ) return 0;
 
         msg_Dbg( p_demux, "beginning of a group of logical streams" );
         es_out_Control( p_demux->out, ES_OUT_RESET_PCR );