[vlc-commits] cdda: remove redundant date_Set()
Rémi Denis-Courmont
git at videolan.org
Wed May 2 16:13:54 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 2 17:05:26 2018 +0300| [a8bac6561e23d3965919925be08ef4d0501e3e6a] | committer: Rémi Denis-Courmont
cdda: remove redundant date_Set()
zero is the initial value after date_Init()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8bac6561e23d3965919925be08ef4d0501e3e6a
---
modules/access/cdda.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index dff0d5e6d0..f6f6770fef 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -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;
More information about the vlc-commits
mailing list