Explain and replace mystery SndFile constant.

SndFile uses 0x7FFFFFFF as an unknown value indicator, but only on
32-bit machines.  SF_COUNT_MAX is the proper constant to test against
and is correct for both 32- and 64-bit machines.  Note that SndFile
may still supply erroneous values if it fails to detect erroneous
inputs to the calculation of the field (e.g., for huge WAV files).

git-svn-id: svn://daper.net/moc/trunk@2629 910807d9-36e0-0310-a014-e9ea483e2ba4
SndFile cannot play huge files in certain formats.

This is a limitation of those formats rather than a bug in libsndfile.

Possibly resolves: node/550 (Gigabyte-sized .WAVs?)

git-svn-id: svn://daper.net/moc/trunk@2630 910807d9-36e0-0310-a014-e9ea483e2ba4
Detect over-length (and therefore broken) WAV files in FFmpeg.

Possibly resolves: node/550 (Gigabyte-sized .WAVs?)

git-svn-id: svn://daper.net/moc/trunk@2631 910807d9-36e0-0310-a014-e9ea483e2ba4
Miscellaneous code cleaning.

git-svn-id: svn://daper.net/moc/trunk@2632 910807d9-36e0-0310-a014-e9ea483e2ba4
Make list's string splitting thread-safe by using strtok_r(3).

git-svn-id: svn://daper.net/moc/trunk@2633 910807d9-36e0-0310-a014-e9ea483e2ba4
Dead code removal.

Amends: r2068

git-svn-id: svn://daper.net/moc/trunk@2634 910807d9-36e0-0310-a014-e9ea483e2ba4