| Index: webrtc/modules/audio_coding/codecs/opus/opus_interface.c
|
| diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_interface.c b/webrtc/modules/audio_coding/codecs/opus/opus_interface.c
|
| index 99057355330694df758b9249d09296304ed62bb4..d79a9ad290842db28ab62a14867bfe0a21684c8b 100644
|
| --- a/webrtc/modules/audio_coding/codecs/opus/opus_interface.c
|
| +++ b/webrtc/modules/audio_coding/codecs/opus/opus_interface.c
|
| @@ -9,9 +9,10 @@
|
| */
|
|
|
| #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h"
|
| +
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/modules/audio_coding/codecs/opus/opus_inst.h"
|
|
|
| -#include <assert.h>
|
| #include <stdlib.h>
|
| #include <string.h>
|
|
|
| @@ -51,7 +52,7 @@ int16_t WebRtcOpus_EncoderCreate(OpusEncInst** inst,
|
| }
|
|
|
| OpusEncInst* state = calloc(1, sizeof(OpusEncInst));
|
| - assert(state);
|
| + RTC_DCHECK(state);
|
|
|
| int error;
|
| state->encoder = opus_encoder_create(48000, (int)channels, opus_app,
|
|
|