cdda: remove redundant date_Set()
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 2 May 2018 14:05:26 +0000 (17:05 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 2 May 2018 14:12:51 +0000 (17:12 +0300)
zero is the initial value after date_Init()

modules/access/cdda.c

index dff0d5e..f6f6770 100644 (file)
@@ -254,7 +254,6 @@ static int DemuxOpen(vlc_object_t *obj, vcddev_t *dev, unsigned track)
     sys->es = es_out_Add(demux->out, &fmt);
 
     date_Init(&sys->pts, 44100, 1);
-    date_Set(&sys->pts, 0);
 
     sys->position = 0;
     demux->pf_demux = Demux;