aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/encoder/plugins/OpusEncoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/plugins/OpusEncoderPlugin.cxx b/src/encoder/plugins/OpusEncoderPlugin.cxx
index 5cb65e4f2..27b614b86 100644
--- a/src/encoder/plugins/OpusEncoderPlugin.cxx
+++ b/src/encoder/plugins/OpusEncoderPlugin.cxx
@@ -120,7 +120,7 @@ opus_encoder_init(const config_param &param, Error &error)
if (!opus_encoder_configure(encoder, param, error)) {
/* configuration has failed, roll back and return error */
delete encoder;
- return NULL;
+ return nullptr;
}
return &encoder->encoder;