[vlc-commits] demux: mkv: add missing initialization

Filip Roséen git at videolan.org
Sun Jul 22 23:36:07 CEST 2018


vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Jul 21 07:05:05 2018 +0200| [f0a81dc20bc44a077160e0422638a8b18d677ec4] | committer: Jean-Baptiste Kempf

demux: mkv: add missing initialization

cid: #1438066
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mkv/events.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mkv/events.hpp b/modules/demux/mkv/events.hpp
index b30fae8cf7..6bab0f5859 100644
--- a/modules/demux/mkv/events.hpp
+++ b/modules/demux/mkv/events.hpp
@@ -56,7 +56,9 @@ private:
             : es( es )
             , category( category )
             , owner( owner )
-        { }
+        {
+            vlc_mouse_Init( &mouse_state );
+        }
 
         bool operator==( es_out_id_t* es ) const {
             return this->es == es;



More information about the vlc-commits mailing list