aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mpc_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c
index 4e4aa75eb..500e57172 100644
--- a/src/inputPlugins/mpc_plugin.c
+++ b/src/inputPlugins/mpc_plugin.c
@@ -98,7 +98,7 @@ static inline mpd_sint16 convertSample(MPC_SAMPLE_FORMAT sample)
#ifdef MPC_FIXED_POINT
const int shift = 16 - MPC_FIXED_POINT_SCALE_SHIFT;
- if (ssample > 0) {
+ if (sample > 0) {
sample <<= shift;
} else if (shift < 0) {
sample >>= -shift;