playlist/extm3u: use nullptr instead of NULL
This commit is contained in:
parent
d6510f9578
commit
d79b6cd8dc
@ -56,7 +56,7 @@ extm3u_open_stream(InputStream &is)
|
|||||||
/* no EXTM3U header: fall back to the plain m3u
|
/* no EXTM3U header: fall back to the plain m3u
|
||||||
plugin */
|
plugin */
|
||||||
delete playlist;
|
delete playlist;
|
||||||
return NULL;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
return playlist;
|
return playlist;
|
||||||
@ -110,7 +110,7 @@ ExtM3uPlaylist::NextSong()
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
if (!tis.ReadLine(line))
|
if (!tis.ReadLine(line))
|
||||||
return NULL;
|
return nullptr;
|
||||||
|
|
||||||
line_s = line.c_str();
|
line_s = line.c_str();
|
||||||
|
|
||||||
@ -127,12 +127,12 @@ ExtM3uPlaylist::NextSong()
|
|||||||
|
|
||||||
static const char *const extm3u_suffixes[] = {
|
static const char *const extm3u_suffixes[] = {
|
||||||
"m3u",
|
"m3u",
|
||||||
NULL
|
nullptr
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *const extm3u_mime_types[] = {
|
static const char *const extm3u_mime_types[] = {
|
||||||
"audio/x-mpegurl",
|
"audio/x-mpegurl",
|
||||||
NULL
|
nullptr
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct playlist_plugin extm3u_playlist_plugin = {
|
const struct playlist_plugin extm3u_playlist_plugin = {
|
||||||
|
Loading…
Reference in New Issue
Block a user