Fixed bug in QWaveDecoder.
authorYoann Lopes <yoann.lopes@digia.com>
Wed, 24 Jul 2013 11:01:08 +0000 (13:01 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 5 Aug 2013 16:08:53 +0000 (18:08 +0200)
commitf01af490a0be13219deb0499c210ceee700332ba
tree6bbb887a06b42a48a2650c1e3cc873ce530d8b26
parentedc76ed07104d5eb54c83abd845178bc9b1cfb1d
Fixed bug in QWaveDecoder.

When looking for a specific chunk, it was entering an infinite loop if not
finding it in the next two chunks available. It now correctly tries to
find the chunk until it reaches the end of the IO device.

Change-Id: I29252318566fe3a47f267410c91dacaf302d9618
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/multimedia/audio/qwavedecoder_p.cpp