[neon/qt6/qt6-multimedia/Neon/release] debian/patches: one more patch

Carlos De Maine null at kde.org
Mon Oct 28 11:18:47 GMT 2024


Git commit 55fd9446f45bbaeeebf04cd24b3edfaf36216392 by Carlos De Maine.
Committed on 28/10/2024 at 11:18.
Pushed by carlosdem into branch 'Neon/release'.

one more patch

A  +13   -0    debian/patches/null_pointers.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/qt6/qt6-multimedia/-/commit/55fd9446f45bbaeeebf04cd24b3edfaf36216392

diff --git a/debian/patches/null_pointers.diff b/debian/patches/null_pointers.diff
new file mode 100644
index 0000000..023000a
--- /dev/null
+++ b/debian/patches/null_pointers.diff
@@ -0,0 +1,13 @@
+diff --git a/examples/multimedia/player/qplaylistfileparser.cpp b/examples/multimedia/player/qplaylistfileparser.cpp
+index 27982bd..4e8f4dd 100644 (file)
+--- a/examples/multimedia/player/qplaylistfileparser.cpp
++++ b/examples/multimedia/player/qplaylistfileparser.cpp
+@@ -267,7 +267,7 @@ public:
+     QPlaylistFileParser::FileType m_type;
+     struct ParserJob
+     {
+-        QIODevice *m_stream;
++        QIODevice *m_stream = nullptr;
+         QUrl m_media;
+         QString m_mimeType;
+         [[nodiscard]] bool isValid() const { return m_stream || !m_media.isEmpty(); }
diff --git a/debian/patches/series b/debian/patches/series
index 7972842..b9afe76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 unity_build.diff
 fix_build_2.diff
+null_pointers.diff


More information about the Neon-commits mailing list