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
a6332fd1
Commit
a6332fd1
authored
Aug 26, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: removed unused initAacBuffer() parameters
Since we eliminated the parameters retFileread and retTagsize in all callers, we can now safely remove it from the function prototype.
parent
4ca24b96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
aac_plugin.c
src/inputPlugins/aac_plugin.c
+3
-9
No files found.
src/inputPlugins/aac_plugin.c
View file @
a6332fd1
...
...
@@ -132,8 +132,7 @@ static int adtsParse(AacBuffer * b, float *length)
return
1
;
}
static
void
initAacBuffer
(
InputStream
*
inStream
,
AacBuffer
*
b
,
float
*
length
,
size_t
*
retFileread
,
size_t
*
retTagsize
)
static
void
initAacBuffer
(
InputStream
*
inStream
,
AacBuffer
*
b
,
float
*
length
)
{
size_t
fileread
;
size_t
bread
;
...
...
@@ -170,11 +169,6 @@ static void initAacBuffer(InputStream * inStream, AacBuffer * b, float *length,
fillAacBuffer
(
b
);
}
if
(
retFileread
)
*
retFileread
=
fileread
;
if
(
retTagsize
)
*
retTagsize
=
tagsize
;
if
(
length
==
NULL
)
return
;
...
...
@@ -230,7 +224,7 @@ static float getAacFloatTotalTime(char *file)
if
(
openInputStream
(
&
inStream
,
file
)
<
0
)
return
-
1
;
initAacBuffer
(
&
inStream
,
&
b
,
&
length
,
NULL
,
NULL
);
initAacBuffer
(
&
inStream
,
&
b
,
&
length
);
if
(
length
<
0
)
{
decoder
=
faacDecOpen
();
...
...
@@ -298,7 +292,7 @@ static int aac_decode(struct decoder * mpd_decoder, char *path)
if
(
openInputStream
(
&
inStream
,
path
)
<
0
)
return
-
1
;
initAacBuffer
(
&
inStream
,
&
b
,
NULL
,
NULL
,
NULL
);
initAacBuffer
(
&
inStream
,
&
b
,
NULL
);
decoder
=
faacDecOpen
();
...
...
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