[vlc-commits] dcp: Add missing initialization

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 22 11:06:21 CET 2017


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

dcp: Add missing initialization

CID #1463259

(cherry picked from commit d4652c072a125c68a62a8e22bbeafa0d014fbf11)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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 b7773d3c2c..11d360905c 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