Fix uninitialized memory reads in MFAudioDecoderControl. v5.5.0-alpha1
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 9 Mar 2015 11:31:11 +0000 (12:31 +0100)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 10 Mar 2015 17:02:39 +0000 (17:02 +0000)
commit2099a8c3c77eea56b95a60e12f265b4eb1d8913d
tree2ae583e3c7e5b7c6ce924bf1675136acba3ac944
parent7b2178768f9ff50354f343838f2f916d87e0167c
Fix uninitialized memory reads in MFAudioDecoderControl.

Initialize all members in constructor.

[W] UMR: Uninitialized memory read in MFAudioDecoderControl::handleMediaSourceReady(void) {1 occurrence}
         Error location
            MFAudioDecoderControl::handleMediaSourceReady(void) [c:\qt\qt-55-32\qt-55-32\qtmultimedia\src\plugins\wmf\decoder\mfaudiodecodercontrol.cpp:254]
[W] UMR: Uninitialized memory read in MFAudioDecoderControl::activatePipeline(void) {1 occurrence}
            MFAudioDecoderControl::activatePipeline(void) [c:\qt\qt-55-32\qt-55-32\qtmultimedia\src\plugins\wmf\decoder\mfaudiodecodercontrol.cpp:289]

Task-number: QTBUG-40571
Change-Id: I6f97cf72284f739ceffcf65162963d00de979ea2
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
src/plugins/wmf/decoder/mfaudiodecodercontrol.cpp