Commit 354d9aed authored by Eric Wong's avatar Eric Wong

mpc_plugin.c: fix compilation error with MPC_FIXED_POINT

(It sounds like crap though) git-svn-id: https://svn.musicpd.org/mpd/trunk@4596 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent ae97bcdf
......@@ -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;
......
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