From f2088bf869f2d32e2a35006b6c70d3ad1d576b1f Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Wed, 26 Jul 2006 03:25:29 +0000 Subject: 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 --- src/inputPlugins/mp3_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 1041c2134..c2333ff6e 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -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; } -- cgit v1.2.3