Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d79b6cd8
Commit
d79b6cd8
authored
Jul 30, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/extm3u: use nullptr instead of NULL
parent
d6510f95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ExtM3uPlaylistPlugin.cxx
src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+4
-4
No files found.
src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
View file @
d79b6cd8
...
@@ -56,7 +56,7 @@ extm3u_open_stream(InputStream &is)
...
@@ -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()
...
@@ -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()
...
@@ -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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment