sox_ng/test/wav-truncated-ISFT/run
Martin Guy 344d602c6b Fix 282351e to ignore final ISFT/ICRD chunk with length > EOF
This was making previously-working decodes of dodgy WAVs fail.
2026-05-18 12:06:49 +02:00

13 lines
251 B
Bash
Executable file

#! /bin/sh
# Check that a final ISFT chunk whose length is more that the rest of the file
# still keeps the preceding data and doesn't fail, the same as 14.4.2
rm -f out.wav
${sox:-sox} 00000000_1.wav out.wav
status=$?
rm -f out.wav
exit $status