Skip to content

Commit

Permalink
fixes google#1027 handling of skipped chunks during wav parse
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeta51 committed Sep 29, 2020
1 parent 8a0601f commit 6cc7cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/parselib/src/main/cpp/wav/WavStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void WavStreamReader::parse() {
} else {
chunk = new WavChunkHeader(tag);
chunk->read(mStream);
mStream->advance(mDataChunk->mChunkSize); // skip the body
mStream->advance(chunk->mChunkSize); // skip the body
}

(*mChunkMap)[tag] = chunk;
Expand Down

0 comments on commit 6cc7cf2

Please sign in to comment.