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:
Christian Strømme
2013-03-20 19:45:40 +01:00
committed by The Qt Project
parent 5ffe8bd6d9
commit d64a68f5c8
3 changed files with 7 additions and 3 deletions