aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 18:44:03 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 18:44:03 +0200
commitd79b6cd8dcc3fb96a1e318c9f85ae3ec9944feee (patch)
tree77667d0fb05c3008c2edf5e03ebdeabdcf779d30 /src/playlist/plugins
parentd6510f95785b7cada13da9b551e78de7b8cf76d4 (diff)
downloadmpd-d79b6cd8dcc3fb96a1e318c9f85ae3ec9944feee.tar.gz
mpd-d79b6cd8dcc3fb96a1e318c9f85ae3ec9944feee.tar.xz
mpd-d79b6cd8dcc3fb96a1e318c9f85ae3ec9944feee.zip
playlist/extm3u: use nullptr instead of NULL
Diffstat (limited to 'src/playlist/plugins')
-rw-r--r--src/playlist/plugins/ExtM3uPlaylistPlugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
index a337bce4c..5dd127add 100644
--- a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
@@ -56,7 +56,7 @@ extm3u_open_stream(InputStream &is)
/* no EXTM3U header: fall back to the plain m3u
plugin */
delete playlist;
- return NULL;
+ return nullptr;
}
return playlist;
@@ -110,7 +110,7 @@ ExtM3uPlaylist::NextSong()
do {
if (!tis.ReadLine(line))
- return NULL;
+ return nullptr;
line_s = line.c_str();
@@ -127,12 +127,12 @@ ExtM3uPlaylist::NextSong()
static const char *const extm3u_suffixes[] = {
"m3u",
- NULL
+ nullptr
};
static const char *const extm3u_mime_types[] = {
"audio/x-mpegurl",
- NULL
+ nullptr
};
const struct playlist_plugin extm3u_playlist_plugin = {