changeset 6621:53601889910b libavcodec

useless variable
author michael
date Thu, 17 Apr 2008 02:35:00 +0000
parents eb001d01785c
children 17645d50d6fd
files alac.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Thu Apr 17 02:30:00 2008 +0000
+++ b/alac.c	Thu Apr 17 02:35:00 2008 +0000
@@ -169,15 +169,11 @@
 
         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;