From 430dd3ae053d71984bcd2ce5fbb0272fadc30cfd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jul 2014 18:45:00 +0200 Subject: encoder/opus: use nullptr instead of NULL --- src/encoder/plugins/OpusEncoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoder/plugins') 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 ¶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; -- cgit v1.2.3