[Live-devel] Possible bugs in ByteStreamFileSource and MPEG2TransportStreamFramer

Ross Finlayson finlayson at live555.com
Fri Jun 10 11:25:01 PDT 2011


>Thus, for my application, using "fread()" gives incorrect behavior while using
>"read()" gives the correct behavior.  You are obviously much more 
>cognizant of the
>ramifications of this change than I am, so you may decide that the 
>change should
>not be included in the live555 library.  I ask that you at least 
>consider it again.

OK, in the next release of the software, "ByteStreamFileSource" will 
include *both* the call to "makeSocketNonBlocking()" (in the 
constructor), and call "read()" rather than "fread()" to read the 
data.  (In each case, these will happen only if 
READ_FROM_FILES_SYNCHRONOUSLY is not defined (the default behavior).)
-- 

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


More information about the live-devel mailing list