aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 05:17:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-02 22:59:50 +0200
commit3f743e3e4c344c25f376b1de535a15e9dafb48fd (patch)
treecb9e2f89235db09a19a2d41e2d118dec1249ec8d
parentf2dbd64bde67a69db881821c303af99fd0f0aa25 (diff)
downloadffmpeg-3f743e3e4c344c25f376b1de535a15e9dafb48fd.tar.gz
avcodec/mlpdec: fix () in MSB_MASK() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fa160af08b6f42f17e93124aef86e3f6eec70d51) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mlpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index 93ed55212f..292f3ab94f 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -872,7 +872,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. */