Daniel Sigurgeirsson wrote: > > Here is a patch file for this bug report. Done using TortoiseSVN. Is > there perhaps another alternative which should be used?
This is not a correct way to fix the bug you think you discovered. Those variables are initialized in mpMediaInterface->getCapabilitiesEx. If there is a problem with initialization, they should be initialized properly in getCapabilitiesEx. It isn't common to zero a variable or array if you pass it to function that is supposed to initialize it. Also if you need to initialize array, it looks cleaner if you write int receiveVideoRtpPorts[MAX_ADDRESS_CANDIDATES]; memset(receiveVideoRtpPorts, 0, sizeof(receiveVideoRtpPorts)); Jaro _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
