[Live-devel] Comment out our_srandom()
Florian Winter
fw at graphics.cs.uni-sb.de
Tue Jun 7 16:28:03 PDT 2005
hi!
compile the LIVE.COM library with -DUSE_SYSTEM_RANDOM and the problem
should go away ... however this might only work under linux or anywhere
where the random() function is available...
we had the problem too (under Linux) but did not try to find the cause
for it. maybe it has something to do with multithreading? our
environment is multi-threaded and we use multiple liblive flowgraphs
simultaneously...
fw
Debal Mridha wrote:
>Hi Ross,
> In my previous mail i have described how occasionally i was
>encountering some segmentation fault at our_random(). now i have
>comment the line our_srandom() from the function
>ourSourceAddressForMulticast() (groupsock/GroupSockHelper.cpp:line
>no-662) though i don't know the functionalities of our_srandom(). But
>after commenting the line i did not encounter any segmentation fault.
>will u plz say what does our_srandom do? if i comment it out form the
>code what will be the effect?
>
>thanks
>Debal
>
>_______________________________________________
>live-devel mailing list
>live-devel at lists.live.com
>http://lists.live.com/mailman/listinfo/live-devel
>
>
More information about the live-devel
mailing list