Commit f9dc34df authored by Pete Warden's avatar Pete Warden Committed by TensorFlower Gardener
Browse files

Check for very large chunk sizes in WAV decoding

Change how chunk sizes larger than 2GB are handled, since they're stored as
unsigned int32s, so there are lots of ways for conversions to confuse the
decoding logic. The new behavior is to fail with an error, since such
large WAV files are not common, and are unsupported by many readers.

PiperOrigin-RevId: 189248857
parent a325b0ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment