>but we haven't! in first mail I have explained why. > >This is because we check for EOF only before reading! > >Then we read next time, we before check for EOF, >but there's no EOF state and we try to read, >and of course we read 0 bytes, but now we have EOF state =)
OK, try adding the following, after the call to "fread()" (line 138) in "ByteStreamFileSource.cpp": if (fFrameSize == 0) { handleClosure(this); return; } Please let us know if that works for you. (If so, I'll add it to the next source code release.) -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel