[FFmpeg-cvslog] r12869 - trunk/libavcodec/alac.c

michael subversion
Thu Apr 17 04:35:00 CEST 2008


Author: michael
Date: Thu Apr 17 04:35:00 2008
New Revision: 12869

Log:
useless variable


Modified:
   trunk/libavcodec/alac.c

Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c	(original)
+++ trunk/libavcodec/alac.c	Thu Apr 17 04:35:00 2008
@@ -169,15 +169,11 @@ static void bastardized_rice_decompress(
 
         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;




More information about the ffmpeg-cvslog mailing list