Commit 5b7c3c87 authored by J. Alexander Treuman's avatar J. Alexander Treuman

Fix an esoteric gcc warning

git-svn-id: https://svn.musicpd.org/mpd/trunk@4684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 64a4c635
......@@ -223,9 +223,10 @@ static void initAacBuffer(InputStream * inStream, AacBuffer * b, float *length,
skipSize]
& 0xE0);
*length = fileread;
if (*length != 0 && bitRate != 0)
*length = *length * 8.0 / bitRate;
if (fileread != 0 && bitRate != 0)
*length = fileread * 8.0 / bitRate;
else
*length = fileread;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment