]> git.sesse.net Git - vlc/commitdiff
* mpga: use 1 as starting time (allow to have a valid date for the first frame).
authorLaurent Aimar <fenrir@videolan.org>
Sat, 15 May 2004 10:51:59 +0000 (10:51 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 15 May 2004 10:51:59 +0000 (10:51 +0000)
modules/demux/mpeg/mpga.c

index 0a4db1671f7275c5c73142dc970b004ccde0e0da..bea597b320376d4a0c4c00672a40ec8a95c6233c 100644 (file)
@@ -2,7 +2,7 @@
  * mpga.c : MPEG-I/II Audio input module for vlc
  *****************************************************************************
  * Copyright (C) 2001-2004 VideoLAN
- * $Id: mpga.c,v 1.18 2004/03/03 20:39:52 gbazin Exp $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -210,7 +210,7 @@ static int Open( vlc_object_t * p_this )
     p_demux->pf_demux   = Demux;
     p_demux->pf_control = Control;
     p_demux->p_sys      = p_sys = malloc( sizeof( demux_sys_t ) );
-    p_sys->i_time = 0;
+    p_sys->i_time = 1;
     p_sys->i_bitrate_avg = 0;
 
     es_format_Init( &fmt, AUDIO_ES, VLC_FOURCC( 'm', 'p', 'g', 'a' ) );