Commit f2088bf8 authored by J. Alexander Treuman's avatar J. Alexander Treuman

jat's second tip of the day: when you change a ternary operator to an if, don't…

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
parent 1bddcb6f
......@@ -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;
}
......
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