diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-17 02:35:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-17 02:35:00 +0000 |
commit | ec04a74e7051829f9ea774b63fa358784498d4dc (patch) | |
tree | 7ee96cc3c773e03537ac8c99c90b45bc763176e4 | |
parent | ea3372a256a3a66ebecb16227ce9d59074ed7a1c (diff) | |
download | ffmpeg-ec04a74e7051829f9ea774b63fa358784498d4dc.tar.gz |
useless variable
Originally committed as revision 12869 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/alac.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 35d6271ef4..75ea5f958b 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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; |