aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-26 03:25:29 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-26 03:25:29 +0000
commitf2088bf869f2d32e2a35006b6c70d3ad1d576b1f (patch)
treef072820cd20724079b4f0d919024eb0a4c8b8168 /src/inputPlugins
parent1bddcb6f92b8460cf4b80343162ca66080a5dbc0 (diff)
downloadmpd-f2088bf869f2d32e2a35006b6c70d3ad1d576b1f.tar.gz
mpd-f2088bf869f2d32e2a35006b6c70d3ad1d576b1f.tar.xz
mpd-f2088bf869f2d32e2a35006b6c70d3ad1d576b1f.zip
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
Diffstat (limited to 'src/inputPlugins')
-rw-r--r--src/inputPlugins/mp3_plugin.c2
1 files changed, 1 insertions, 1 deletions
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;
}