jat's second tip of the day: when you change a ternary operator to an if, don't forget to take out everything after the :. And don't forget my first tip either.

git-svn-id: https://svn.musicpd.org/mpd/trunk@4467 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2006-07-26 03:25:29 +00:00
parent 1bddcb6f92
commit f2088bf869

View File

@ -638,7 +638,7 @@ static int decodeFirstFrame(mp3DecodeData * data, DecoderControl * dc,
if (parse_xing(&xing, &ptr, &bitlen)) {
data->muteFrame = MUTEFRAME_SKIP;
if (parse_lame(&lame, &ptr, &bitlen) : 0)
if (parse_lame(&lame, &ptr, &bitlen)) {
data->dropSamplesAtStart = lame.encoderDelay + DECODERDELAY;
data->dropSamplesAtEnd = lame.encoderPadding;
}