Commit 430dd3ae authored by Max Kellermann's avatar Max Kellermann

encoder/opus: use nullptr instead of NULL

parent 664fc76a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment