[PATCH?] ogg123 hangs when playing long files on 32 bit platforms
Ogg123 on 32 bit platforms seems to have trouble decoding audio files that are larger than 2^31-1 bytes when decoded to raw data. This is usually the case when listening to net radio streams in ogg, so it's a bit bothersome. 2^31-1 bytes corresponds to about 3.4 hours of music at 16 bit 44100 Hz stereo.
The file http://www.ping.uio.no/~runehol/longsilence.ogg is 5 hours of silence encoded at -q -1, and is useful for reproducing the problem.
ogg123 -v -d raw -f longsilence.raw longsilence.ogg
will stop after 2^31-1 bytes written on a 32 bit platform, but on a 64 bit platform the whole file will be decoded. My test platforms for this has been Debian sarge, on x86 for 32 bit, and ia64 and amd64 for 64 bit.