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
c7563a57
Commit
c7563a57
authored
Aug 04, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag_id3: corrected parameter types
Changed "int type" to "enum tag_type". Converted "int is_id3v1" to "bool".
parent
b06b4f93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tag_id3.c
src/tag_id3.c
+3
-2
No files found.
src/tag_id3.c
View file @
c7563a57
...
...
@@ -79,7 +79,7 @@ tag_id3_getstring(const struct id3_frame *frame, unsigned i)
/* This will try to convert a string to utf-8,
*/
static
id3_utf8_t
*
import_id3_string
(
int
is_id3v1
,
const
id3_ucs4_t
*
ucs4
,
int
type
)
import_id3_string
(
bool
is_id3v1
,
const
id3_ucs4_t
*
ucs4
,
enum
tag_type
type
)
{
id3_utf8_t
*
utf8
,
*
utf8_stripped
;
id3_latin1_t
*
isostr
;
...
...
@@ -120,7 +120,8 @@ import_id3_string(int is_id3v1, const id3_ucs4_t *ucs4, int type)
}
static
void
tag_id3_import_frame
(
struct
tag
*
dest
,
struct
id3_tag
*
tag
,
const
char
*
id
,
int
type
)
tag_id3_import_frame
(
struct
tag
*
dest
,
struct
id3_tag
*
tag
,
const
char
*
id
,
enum
tag_type
type
)
{
struct
id3_frame
const
*
frame
;
id3_ucs4_t
const
*
ucs4
;
...
...
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