summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 75ea5f958b..219dcefab2 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -170,10 +170,6 @@ static void bastardized_rice_decompress(ALACContext *alac,
if (x > 8) { /* RICE THRESHOLD */
/* use alternative encoding */
x = get_bits(&alac->gb, readsamplesize);
-
- /* mask value to readsamplesize size */
- if (readsamplesize != 32)
- x &= (0xffffffff >> (32 - readsamplesize));
} else {
/* standard rice encoding */
int extrabits;