Re: [Live-devel] use of unitialized memory in our_MD5End

2012-01-23 Thread Ross Finlayson
In any case, this isn't a concern, because we're using MD5 here to generate a 'pseudo-random' value. It doesn't matter if some of the memory that MD5 reads happens to be 'uninitialized'. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___

Re: [Live-devel] use of unitialized memory in our_MD5End

2012-01-23 Thread PROMONET Michel
Hi Ross, Sorry but, I guess that valgrind has right due to padding bytes that are at the end of the structure. seedData contains: - timestamp (so 2 long) - counter (int) In 64bits, it's not ok - timeval is 2*8 bytes - int is 4 bytes and structure size is 24 bytes. This 4 bytes o

Re: [Live-devel] General tips would be appreciated

2012-01-23 Thread Ross Finlayson
> P.S. I've read the FAQ last time, the part I think you were referring to > wasn't really referring to me :) esp the one about not reading the FAQ. No, the part of the FAQ that relates specifically to what you're trying to do (I think) is: http://www.live555.com/liveMedia/faq.html#liveI

Re: [Live-devel] General tips would be appreciated

2012-01-23 Thread Aleksandar Milenkovic
After some more digging and looking through testApps (such as testOndemandRTSPServer) i saw this ServerMediaSession* sms = ServerMediaSession::createNew(*env, streamName, streamName, descriptionString); sms->addSubsession(H264VideoFileServerMediaSubsession::createNew(*env, inputFileName,