erikd/libsndfile — pull request #18 by umlaeute (2012-08-29 16:38:07+00:00)
Title: read mat5-files without samplerate header

if a mat5-file does not hold a 1x1-matrix at the beginning (the samplerate),
we either use the user-supplied sampelrate (via the SF_INFO struct), or (if
the user did not specify one) fall back to 44100.

the code uses a "goto" statement to skip the reading of the data-matrix
(since the 1st matrix we read already contains the sample-data), in order
to keep code changes at a minimum (and avoid formatting issues)