No, len can be -1.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-27 09:51: Subject: Re: Shuffler can't handle big file
It seems like the datastructure in the shuffler uses an int to keep track of the length. (See shuffler.h in the data struct)
This would cause problems with large files on small[*] systems.
The quick fix, would be to replace the int len with unsigned int len. That would allow 4gb files.
[*] Small systems being systems with int size of 32bits or less.
/ Marcus Agehall (PacketFront)