encoder/opus: use nullptr instead of NULL
This commit is contained in:
parent
664fc76ac7
commit
430dd3ae05
@ -120,7 +120,7 @@ opus_encoder_init(const config_param ¶m, 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;
|
||||
|
Loading…
Reference in New Issue
Block a user