| Index: webrtc/modules/audio_coding/main/acm2/codec_manager.cc
|
| diff --git a/webrtc/modules/audio_coding/main/acm2/codec_manager.cc b/webrtc/modules/audio_coding/main/acm2/codec_manager.cc
|
| index 7b9c7ed5a949db37b8dbd842a1389fd99efbf479..a422e6fb7d9e5de85a36a267e40c8a12265d8fb7 100644
|
| --- a/webrtc/modules/audio_coding/main/acm2/codec_manager.cc
|
| +++ b/webrtc/modules/audio_coding/main/acm2/codec_manager.cc
|
| @@ -11,6 +11,7 @@
|
| #include "webrtc/modules/audio_coding/main/acm2/codec_manager.h"
|
|
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/format_macros.h"
|
| #include "webrtc/engine_configurations.h"
|
| #include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
| #include "webrtc/system_wrappers/interface/trace.h"
|
| @@ -40,8 +41,8 @@ int IsValidSendCodec(const CodecInst& send_codec, bool is_primary_encoder) {
|
| int dummy_id = 0;
|
| if ((send_codec.channels != 1) && (send_codec.channels != 2)) {
|
| WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceAudioCoding, dummy_id,
|
| - "Wrong number of channels (%d, only mono and stereo are "
|
| - "supported) for %s encoder",
|
| + "Wrong number of channels (%" PRIuS ", only mono and stereo "
|
| + "are supported) for %s encoder",
|
| send_codec.channels,
|
| is_primary_encoder ? "primary" : "secondary");
|
| return -1;
|
| @@ -74,7 +75,7 @@ int IsValidSendCodec(const CodecInst& send_codec, bool is_primary_encoder) {
|
| if (ACMCodecDB::codec_settings_[codec_id].channel_support <
|
| send_codec.channels) {
|
| WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceAudioCoding, dummy_id,
|
| - "%d number of channels not supportedn for %s.",
|
| + "%" PRIuS " number of channels not supportedn for %s.",
|
| send_codec.channels, send_codec.plname);
|
| return -1;
|
| }
|
|
|