Fix an esoteric gcc warning

git-svn-id: https://svn.musicpd.org/mpd/trunk@4684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2006-08-25 00:29:41 +00:00
parent 64a4c635de
commit 5b7c3c8707

View File

@ -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;
}
}