* 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 4eb9cc2..ff68655 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 );