Commit 85f4aeca authored by Max Kellermann's avatar Max Kellermann

decoder/dsdiff: ignore garbage null byte at end of file

Failure to read another chunk header is not fatal. Continue to read metadata.
parent 7db84a96
......@@ -294,7 +294,7 @@ dsdiff_read_metadata_extra(Decoder *decoder, InputStream &is,
if (is.GetOffset() < size) {
if (!dsdiff_read_chunk_header(decoder, is, chunk_header))
return false;
break;
}
}
/* done processing chunk headers, process tags if any */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment