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
47e3eab8
Commit
47e3eab8
authored
Feb 18, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp4ff: merged mp4_load_tag() into mp4_tag_dup()
The function mp4_load_tag() is used only once, and mp4_tag_dup() is a one-liner. Merge them.
parent
9d2f16d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
mp4ff_plugin.c
src/decoder/mp4ff_plugin.c
+1
-7
No files found.
src/decoder/mp4ff_plugin.c
View file @
47e3eab8
...
...
@@ -323,7 +323,7 @@ mp4_decode(struct decoder *mpd_decoder, struct input_stream *input_stream)
}
static
struct
tag
*
mp4_
load_tag
(
const
char
*
file
)
mp4_
tag_dup
(
const
char
*
file
)
{
struct
tag
*
ret
=
NULL
;
struct
input_stream
input_stream
;
...
...
@@ -405,12 +405,6 @@ mp4_load_tag(const char *file)
return
ret
;
}
static
struct
tag
*
mp4_tag_dup
(
const
char
*
file
)
{
return
mp4_load_tag
(
file
);
}
static
const
char
*
const
mp4_suffixes
[]
=
{
"m4a"
,
"mp4"
,
NULL
};
static
const
char
*
const
mp4_mime_types
[]
=
{
"audio/mp4"
,
"audio/m4a"
,
NULL
};
...
...
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