Fix calculation bug in QWaveDecoder.
When comparing the size of the WaveHeader and the chunk size, we need to include the ID and Size fields, or any extra data won't be discarded and the parsing will fail. Change-Id: I730833f33f57b26cd750985354136191f7e7ce04 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
5ffe8bd6d9
commit
d64a68f5c8
BIN
tests/auto/unit/qwavedecoder/data/isawav_1_16_44100_le_2.wav
Normal file
BIN
tests/auto/unit/qwavedecoder/data/isawav_1_16_44100_le_2.wav
Normal file
Binary file not shown.
Reference in New Issue
Block a user