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
07feec7e
Commit
07feec7e
authored
Dec 22, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/cdda: remove unused function input_cdda_archive_extract_trackno()
parent
e7471f58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
cdda_input_plugin.c
src/input/cdda_input_plugin.c
+0
-24
No files found.
src/input/cdda_input_plugin.c
View file @
07feec7e
...
...
@@ -247,30 +247,6 @@ input_cdda_open(const char *uri, GError **error_r)
return
&
i
->
base
;
}
/* single archive handling */
static
int
input_cdda_archive_extract_trackno
(
const
char
*
path
)
{
long
value
;
char
*
endptr
,
*
str
;
//remove .wav
str
=
strrchr
(
path
,
'.'
);
if
(
str
)
*
str
=
0
;
//remove leading 0's
while
(
*
path
==
'0'
)
path
++
;
value
=
strtol
(
path
,
&
endptr
,
0
);
if
(
*
endptr
!=
0
||
value
<
0
)
{
return
-
1
;
}
return
value
;
}
static
bool
input_cdda_seek
(
struct
input_stream
*
is
,
goffset
offset
,
int
whence
,
GError
**
error_r
)
...
...
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