Browse Source

useless variable

Originally committed as revision 12869 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
ec04a74e70
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      libavcodec/alac.c

+ 2
- 6
libavcodec/alac.c View File

@@ -169,15 +169,11 @@ static void bastardized_rice_decompress(ALACContext *alac,

if (x > 8) { /* RICE THRESHOLD */
/* use alternative encoding */
int32_t value;

value = get_bits(&alac->gb, readsamplesize);
x = get_bits(&alac->gb, readsamplesize);

/* mask value to readsamplesize size */
if (readsamplesize != 32)
value &= (0xffffffff >> (32 - readsamplesize));

x = value;
x &= (0xffffffff >> (32 - readsamplesize));
} else {
/* standard rice encoding */
int extrabits;


Loading…
Cancel
Save