[vlc-commits] dcp: Add missing initialization

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 22 10:50:45 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 22 10:25:04 2017 +0100| [d4652c072a125c68a62a8e22bbeafa0d014fbf11] | committer: Hugo Beauzée-Luyssen

dcp: Add missing initialization

CID #1463259

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

 modules/access/dcp/dcp.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/access/dcp/dcp.cpp b/modules/access/dcp/dcp.cpp
index 33ff5503fb..2201f119d1 100644
--- a/modules/access/dcp/dcp.cpp
+++ b/modules/access/dcp/dcp.cpp
@@ -174,7 +174,9 @@ class demux_sys_t
         frame_no( 0 ),
         frames_total( 0 ),
         i_video_reel( 0 ),
-        i_audio_reel( 0 ) {};
+        i_audio_reel( 0 ),
+        i_pts( 0 )
+    {}
 
     ~demux_sys_t()
     {



More information about the vlc-commits mailing list