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
a6605121
Commit
a6605121
authored
Dec 02, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TagId3: add "pure" attributes
parent
0debba0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
TagId3.cxx
src/tag/TagId3.cxx
+4
-1
No files found.
src/tag/TagId3.cxx
View file @
a6605121
...
...
@@ -66,12 +66,14 @@
static
constexpr
Domain
id3_domain
(
"id3"
);
gcc_pure
static
inline
bool
tag_is_id3v1
(
struct
id3_tag
*
tag
)
{
return
(
id3_tag_options
(
tag
,
0
,
0
)
&
ID3_TAG_OPTION_ID3V1
)
!=
0
;
}
gcc_pure
static
id3_utf8_t
*
tag_id3_getstring
(
const
struct
id3_frame
*
frame
,
unsigned
i
)
{
...
...
@@ -249,10 +251,11 @@ tag_id3_import_comment(struct id3_tag *tag, const char *id, TagType type,
* Parse a TXXX name, and convert it to a TagType enum value.
* Returns TAG_NUM_OF_ITEM_TYPES if the TXXX name is not understood.
*/
gcc_pure
static
TagType
tag_id3_parse_txxx_name
(
const
char
*
name
)
{
static
const
struct
tag_table
txxx_tags
[]
=
{
static
const
expr
struct
tag_table
txxx_tags
[]
=
{
{
"ALBUMARTISTSORT"
,
TAG_ALBUM_ARTIST_SORT
},
{
"MusicBrainz Artist Id"
,
TAG_MUSICBRAINZ_ARTISTID
},
{
"MusicBrainz Album Id"
,
TAG_MUSICBRAINZ_ALBUMID
},
...
...
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