[Live-devel] some problems with ByteStreamMultiFileSource

Ross Finlayson finlayson at live555.com
Mon Sep 10 01:32:21 PDT 2007


>\For example I have file with size 6011488 bytes.
>6011488 = 4568*1316=4568*(7*188) <--it's correct transport stream file,
>but then we read last portion of this file:
>	fFrameSize = fread(fTo, 1, fMaxSize, fFid);
>we read exactly 1316 bytes, the file is no longer left bytes!!!
>but also we haven't EOF state,

In that case, you should get EOF on the file the next time you try to 
read from it.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list