briandorsey / wavrw

wavrw is a command line tool to read and write WAV files with a focus on visualizing the structure of files and parsing metadata.
Apache License 2.0
2 stars 1 forks source link

panic when reading very large WAV #56

Closed briandorsey closed 5 months ago

briandorsey commented 5 months ago

When attempting to run view on a very long file recorded from a Sony A10:

thread 'main' panicked at /Users/brian/projects/wavrw/src/lib.rs:341:9:
attempt to add with overflow

This was part of an overnight recording, so the recorder automatically started a new recording after this one.

example file: 240302_2037.wav

briandorsey commented 5 months ago

fixed in 5e7c1b7dc3e27cb5c76d03f9ff982cd2d8529e2a