Author: kostya
Date: Fri Jan 15 09:26:10 2010
New Revision: 5580

Log:
remove unneeded mask

Modified:
   indeo5/ivi_common.c

Modified: indeo5/ivi_common.c
==============================================================================
--- indeo5/ivi_common.c Fri Jan 15 09:06:49 2010        (r5579)
+++ indeo5/ivi_common.c Fri Jan 15 09:26:10 2010        (r5580)
@@ -42,7 +42,7 @@ static uint16_t inv_bits(const uint16_t 
     uint16_t res;
 
     if (nbits <= 8) {
-        res = av_reverse[val & 0xFF] >> (8-nbits);
+        res = av_reverse[val] >> (8-nbits);
     } else
         res = ((av_reverse[val & 0xFF] << 8) + (av_reverse[val >> 8])) >> 
(16-nbits);
 
_______________________________________________
FFmpeg-soc mailing list
FFmpeg-soc@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to