(Auto)update libjingle 68499439-> 68501302
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6320 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
251fdf64cb
commit
af81b9bffd
@ -69,6 +69,10 @@
|
|||||||
#if !defined(LIBPEERCONNECTION_LIB)
|
#if !defined(LIBPEERCONNECTION_LIB)
|
||||||
#include "talk/media/webrtc/webrtcmediaengine.h"
|
#include "talk/media/webrtc/webrtcmediaengine.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define strtok_r strtok_s
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
WRME_EXPORT
|
WRME_EXPORT
|
||||||
cricket::MediaEngineInterface* CreateWebRtcMediaEngine(
|
cricket::MediaEngineInterface* CreateWebRtcMediaEngine(
|
||||||
webrtc::AudioDeviceModule* adm, webrtc::AudioDeviceModule* adm_sc,
|
webrtc::AudioDeviceModule* adm, webrtc::AudioDeviceModule* adm_sc,
|
||||||
@ -145,8 +149,9 @@ static int GetExternalVideoPayloadType(int index) {
|
|||||||
|
|
||||||
static void LogMultiline(talk_base::LoggingSeverity sev, char* text) {
|
static void LogMultiline(talk_base::LoggingSeverity sev, char* text) {
|
||||||
const char* delim = "\r\n";
|
const char* delim = "\r\n";
|
||||||
// TODO(fbarchard): Fix strtok lint warning.
|
char* strtok_save;
|
||||||
for (char* tok = strtok(text, delim); tok; tok = strtok(NULL, delim)) {
|
for (char* tok = strtok_r(text, delim, &strtok_save);
|
||||||
|
tok; tok = strtok_r(NULL, delim, &strtok_save)) {
|
||||||
LOG_V(sev) << tok;
|
LOG_V(sev) << tok;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user