decoder/dsdiff: ignore garbage null byte at end of file
Failure to read another chunk header is not fatal. Continue to read metadata.
This commit is contained in:
parent
7db84a961a
commit
85f4aeca05
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue