I don't know, but that source obviously checks for that case in several places (but perhaps it doesn't apply in your case).
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-27 12:50: Subject: Re: Shuffler can't handle big file
Hmm, that signaling might break my current fix too. Why can len be <0?
/ Marcus Agehall (PacketFront)