senseless code

Originally committed as revision 12870 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent ec04a74e70
commit 26df3ba28c
  1. 4
      libavcodec/alac.c

@ -170,10 +170,6 @@ static void bastardized_rice_decompress(ALACContext *alac,
if (x > 8) { /* RICE THRESHOLD */ if (x > 8) { /* RICE THRESHOLD */
/* use alternative encoding */ /* use alternative encoding */
x = get_bits(&alac->gb, readsamplesize); x = get_bits(&alac->gb, readsamplesize);
/* mask value to readsamplesize size */
if (readsamplesize != 32)
x &= (0xffffffff >> (32 - readsamplesize));
} else { } else {
/* standard rice encoding */ /* standard rice encoding */
int extrabits; int extrabits;

Loading…
Cancel
Save