Update riff_parser.py

Pass file signature to parse_rf64()
This commit is contained in:
Jamie Hardt
2020-08-07 22:56:31 -07:00
committed by GitHub
parent c23ca4bded
commit 7351623e3a

View File

@@ -57,7 +57,7 @@ def parse_chunk(stream, rf64_context=None):
if data_size == 0xFFFFFFFF:
if rf64_context is None and ident in [b'RF64', b'BW64']:
rf64_context = parse_rf64(stream=stream)
rf64_context = parse_rf64(stream=stream, signature=ident)
data_size = rf64_context.bigchunk_table[ident]