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
8e5a67ed
Commit
8e5a67ed
authored
Feb 23, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag/TagId3: eliminate dummy function when libid3tag is disabled
parent
cccbcf51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
15 deletions
+4
-15
Generic.cxx
src/tag/Generic.cxx
+4
-0
TagId3.hxx
src/tag/TagId3.hxx
+0
-15
No files found.
src/tag/Generic.cxx
View file @
8e5a67ed
...
...
@@ -40,10 +40,14 @@ ScanGenericTags(InputStream &is, const TagHandler &handler, void *ctx)
if
(
tag_ape_scan2
(
is
,
handler
,
ctx
))
return
true
;
#ifdef ENABLE_ID3TAG
if
(
!
is
.
Rewind
(
IgnoreError
()))
return
false
;
return
tag_id3_scan
(
is
,
handler
,
ctx
);
#else
return
false
;
#endif
}
/**
...
...
src/tag/TagId3.hxx
View file @
8e5a67ed
...
...
@@ -21,15 +21,12 @@
#define MPD_TAG_ID3_HXX
#include "check.h"
#include "Compiler.h"
class
InputStream
;
struct
TagHandler
;
struct
Tag
;
struct
id3_tag
;
#ifdef ENABLE_ID3TAG
bool
tag_id3_scan
(
InputStream
&
is
,
const
TagHandler
&
handler
,
void
*
handler_ctx
);
...
...
@@ -45,16 +42,4 @@ void
scan_id3_tag
(
id3_tag
*
tag
,
const
TagHandler
&
handler
,
void
*
handler_ctx
);
#else
static
inline
bool
tag_id3_scan
(
gcc_unused
InputStream
&
is
,
gcc_unused
const
TagHandler
&
handler
,
gcc_unused
void
*
handler_ctx
)
{
return
false
;
}
#endif
#endif
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