mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 09:50:41 +00:00
Update riff_parser.py
Pass file signature to parse_rf64()
This commit is contained in:
@@ -57,7 +57,7 @@ def parse_chunk(stream, rf64_context=None):
|
|||||||
|
|
||||||
if data_size == 0xFFFFFFFF:
|
if data_size == 0xFFFFFFFF:
|
||||||
if rf64_context is None and ident in [b'RF64', b'BW64']:
|
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]
|
data_size = rf64_context.bigchunk_table[ident]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user