vlc | branch: master | Steve Lhomme <[email protected]> | Tue Feb 11 11:53:19 
2020 +0100| [73b03a5407d118e10766b59510178ffecbd58057] | committer: Steve Lhomme

doc: libvlc: fix the Qt OpenGL sample compilation

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

 doc/libvlc/QtGL/qtvlcwidget.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/libvlc/QtGL/qtvlcwidget.cpp b/doc/libvlc/QtGL/qtvlcwidget.cpp
index 59eca34fe8..ab94b3ade6 100644
--- a/doc/libvlc/QtGL/qtvlcwidget.cpp
+++ b/doc/libvlc/QtGL/qtvlcwidget.cpp
@@ -70,9 +70,9 @@ public:
         if (!QOpenGLContext::supportsThreadedOpenGL())
             return false;
 
-        VLCVideo** that = static_cast<VLCVideo**>(data);
-        (*that)->m_width = 0;
-        (*that)->m_height = 0;
+        VLCVideo* that = static_cast<VLCVideo*>(*data);
+        that->m_width = 0;
+        that->m_height = 0;
         return true;
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to