Correction, to the addition at line 149 in suggested fix, should be: ssndsize = chunksize; + ssndfound = 1;
Parsing 0-frame aiff file fails with error: Missing SSND chunk in AIFF file