summaryrefslogtreecommitdiff
path: root/libavcodec/mlpdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 05:17:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-25 05:18:18 +0200
commitfa160af08b6f42f17e93124aef86e3f6eec70d51 (patch)
tree1cfd392366b5619cefc52fdd79dd95e543e57e50 /libavcodec/mlpdec.c
parentf276bf303cbb7a8fed3c388135007bc29f45f8d5 (diff)
avcodec/mlpdec: fix () in MSB_MASK() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mlpdec.c')
-rw-r--r--libavcodec/mlpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index d25e78bcf6..ed6a7fb58c 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -893,7 +893,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
return 0;
}
-#define MSB_MASK(bits) (-1u << bits)
+#define MSB_MASK(bits) (-1u << (bits))
/** Generate PCM samples using the prediction filters and residual values
* read from the data stream, and update the filter state. */