[vlc-commits] [Git][videolan/vlc][master] Fix undefined variable in qsgroundedrectangularimagenode

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Apr 7 05:25:24 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
81291cd6 by Mark Harfouche at 2025-04-07T04:59:26+00:00
Fix undefined variable in qsgroundedrectangularimagenode
- - - - -


1 changed file:

- modules/gui/qt/util/qsgroundedrectangularimagenode.cpp


Changes:

=====================================
modules/gui/qt/util/qsgroundedrectangularimagenode.cpp
=====================================
@@ -29,7 +29,7 @@ template<class T>
 T QSGRoundedRectangularImageNode::material_cast(QSGMaterial* const material)
 {
 #ifdef NDEBUG
-    return static_cast<T>(object);
+    return static_cast<T>(material);
 #else
     const auto ret = dynamic_cast<T>(material);
     assert(ret); // incompatible material type



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/81291cd6de56d758d3ba059f151a7ebf539d3e9d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/81291cd6de56d758d3ba059f151a7ebf539d3e9d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list