[vlc-commits] [Git][videolan/vlc][master] qt: medialibrary: initialize the album ID to INVALID_MLITEMID_ID
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat May 23 07:05:46 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
f5e78fa4 by Steve Lhomme at 2026-05-23T06:50:02+00:00
qt: medialibrary: initialize the album ID to INVALID_MLITEMID_ID
It may not be initialized in MLAudio::MLAudio() but it will be used anyway.
0 seems to be the default value in the MediaLibrary as well.
CID #1692708
- - - - -
1 changed file:
- modules/gui/qt/medialibrary/mlaudio.hpp
Changes:
=====================================
modules/gui/qt/medialibrary/mlaudio.hpp
=====================================
@@ -40,5 +40,5 @@ private:
QString m_artist;
unsigned int m_trackNumber;
unsigned int m_discNumber;
- int64_t m_albumId;
+ int64_t m_albumId = INVALID_MLITEMID_ID;
};
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f5e78fa419a7ef3c4bbd26d32d6688c6b8820ad4
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f5e78fa419a7ef3c4bbd26d32d6688c6b8820ad4
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list