diff options
author | Max Kellermann <max@duempel.org> | 2014-07-30 18:45:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-30 18:45:00 +0200 |
commit | 430dd3ae053d71984bcd2ce5fbb0272fadc30cfd (patch) | |
tree | aecf0f3cb496201c8eb2753c3e51f0daed0c3810 /src/encoder/plugins | |
parent | 664fc76ac7bf3d3d459d813e8ac8acc5cf523808 (diff) | |
download | mpd-430dd3ae053d71984bcd2ce5fbb0272fadc30cfd.tar.gz mpd-430dd3ae053d71984bcd2ce5fbb0272fadc30cfd.tar.xz mpd-430dd3ae053d71984bcd2ce5fbb0272fadc30cfd.zip |
encoder/opus: use nullptr instead of NULL
Diffstat (limited to 'src/encoder/plugins')
-rw-r--r-- | src/encoder/plugins/OpusEncoderPlugin.cxx | 2 |
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 ¶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; |