[vlc-commits] rawvid: remove redundant date_Set()

Rémi Denis-Courmont git at videolan.org
Fri May 4 12:21:11 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May  4 13:20:23 2018 +0300| [c079d49ce0a139420977b7b733fd1f47e8a94ed6] | committer: Rémi Denis-Courmont

rawvid: remove redundant date_Set()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c079d49ce0a139420977b7b733fd1f47e8a94ed6
---

 modules/demux/rawvid.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/rawvid.c b/modules/demux/rawvid.c
index b773b9901d..bce8b2cf2f 100644
--- a/modules/demux/rawvid.c
+++ b/modules/demux/rawvid.c
@@ -341,7 +341,6 @@ valid:
                  u_fps_num, u_fps_den, 0);
     date_Init( &p_sys->pcr, p_sys->fmt_video.video.i_frame_rate,
                p_sys->fmt_video.video.i_frame_rate_base );
-    date_Set( &p_sys->pcr, 0 );
 
     if( !p_sys->fmt_video.video.i_bits_per_pixel )
     {



More information about the vlc-commits mailing list