mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
useless variable
Originally committed as revision 12869 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ea3372a256
commit
ec04a74e70
@ -169,15 +169,11 @@ static void bastardized_rice_decompress(ALACContext *alac,
|
|||||||
|
|
||||||
if (x > 8) { /* RICE THRESHOLD */
|
if (x > 8) { /* RICE THRESHOLD */
|
||||||
/* use alternative encoding */
|
/* use alternative encoding */
|
||||||
int32_t value;
|
x = get_bits(&alac->gb, readsamplesize);
|
||||||
|
|
||||||
value = get_bits(&alac->gb, readsamplesize);
|
|
||||||
|
|
||||||
/* mask value to readsamplesize size */
|
/* mask value to readsamplesize size */
|
||||||
if (readsamplesize != 32)
|
if (readsamplesize != 32)
|
||||||
value &= (0xffffffff >> (32 - readsamplesize));
|
x &= (0xffffffff >> (32 - readsamplesize));
|
||||||
|
|
||||||
x = value;
|
|
||||||
} else {
|
} else {
|
||||||
/* standard rice encoding */
|
/* standard rice encoding */
|
||||||
int extrabits;
|
int extrabits;
|
||||||
|
Loading…
Reference in New Issue
Block a user