Commit f1b775ab authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

WMF plugin: Initialize member variable m_stateDirty.


Fix purify warning:
[W] UMR: Uninitialized memory read in MFPlayerControl::refreshState(void) {1 occurrence}

Task-number: QTBUG-41966
Change-Id: I1416f906dcc8c31a528ab7f09a258873fcfe9d1e
Reviewed-by: default avatarYoann Lopes <yoann.lopes@theqtcompany.com>
Showing with 1 addition and 0 deletions
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
MFPlayerControl::MFPlayerControl(MFPlayerSession *session) MFPlayerControl::MFPlayerControl(MFPlayerSession *session)
: QMediaPlayerControl(session) : QMediaPlayerControl(session)
, m_state(QMediaPlayer::StoppedState) , m_state(QMediaPlayer::StoppedState)
, m_stateDirty(false)
, m_videoAvailable(false) , m_videoAvailable(false)
, m_audioAvailable(false) , m_audioAvailable(false)
, m_duration(-1) , m_duration(-1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment