diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:10 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 18:44:47 -0700 |
commit | c917b19a2afb6916daf5aa8ae73697c2528b2cf3 (patch) | |
tree | c260adb7af129585614bb99fedded194d1f0ec1f /src | |
parent | 5cabe3399b7e1b47ad62b57815987742b424c5dc (diff) | |
download | mpd-c917b19a2afb6916daf5aa8ae73697c2528b2cf3.tar.gz mpd-c917b19a2afb6916daf5aa8ae73697c2528b2cf3.tar.xz mpd-c917b19a2afb6916daf5aa8ae73697c2528b2cf3.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/aac_plugin.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c index 400b43f28..f398a822d 100644 --- a/src/inputPlugins/aac_plugin.c +++ b/src/inputPlugins/aac_plugin.c @@ -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(); @@ -296,7 +290,7 @@ static int aac_decode(char *path) if (openInputStream(&inStream, path) < 0) return -1; - initAacBuffer(&inStream, &b, NULL, NULL, NULL); + initAacBuffer(&inStream, &b, NULL); decoder = faacDecOpen(); |