1) Looking at the source for mpeg3split,
minimum size of a fragment is 0x100000,
slightly less than 1.5 MBytes - might be
nice for the usage statement to point this
2) More importantly, if my requested byte size is
longer than the file length, I get a "fragment"
written out that's the same length as the original
file (identical). If shorter than file length, I get
continuing 0 length fragments looping.
Adding a printf after line 104:
fragment_size = ftell(in) - current_byte;
printf("Current byte is %d\n",current_byte);
fseek(in, current_byte, SEEK_SET);
I see that current_byte stays at 0 always.
I took byteswap.h from glibc for i386 (doesn't come
natively with Cygwin) and typedef'd __off64_t as long,
otherwise I'm going straight from the Makefile, with
MMX & CSS disabled. Running on NT 4.0, SP6.
Will hack more on this tomorrow to try to find where
the loop fails, but seems to not be finding the proper
mp3 header. (Using Castanets.wav compressed with