adtsParse() always returns 1, and its caller does not use the return
value.
---
src/inputPlugins/aac_plugin.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c
index cc66a23..c337cc3 100644
--- a/src/inputPlugins/aac_plugin.c
+++ b/src/inputPlugins/aac_plugin.c
@@ -90,7 +90,7 @@ static int adtsSampleRates[] =
16000, 12000, 11025, 8000, 7350, 0, 0, 0
};
-static int adtsParse(AacBuffer * b, float *length)
+static void adtsParse(AacBuffer * b, float *length)
{
unsigned int frames, frameLength;
int sampleRate = 0;
@@ -128,8 +128,6 @@ static int adtsParse(AacBuffer * b, float *length)
framesPerSec = (float)sampleRate / 1024.0;
if (framesPerSec != 0)
*length = (float)frames / framesPerSec;
-
- return 1;
}
static void initAacBuffer(InputStream * inStream, AacBuffer * b, float *length)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Musicpd-dev-team mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team