senseless code
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 17 Apr 2008 02:38:41 +0000 (02:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 17 Apr 2008 02:38:41 +0000 (02:38 +0000)
Originally committed as revision 12870 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/alac.c

index 75ea5f9..219dcef 100644 (file)
@@ -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;