Remove a useless "& 0xF"
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 17 Apr 2009 20:01:45 +0000 (20:01 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 17 Apr 2009 20:01:45 +0000 (20:01 +0000)
Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/xan.c

index 4152ff4..bb6dab4 100644 (file)
@@ -333,7 +333,7 @@ static void xan_wc3_decode_frame(XanContext *s) {
             }
         } else {
             /* run-based motion compensation from last frame */
-            motion_x = (*vector_segment >> 4) & 0xF;
+            motion_x = *vector_segment >> 4;
             motion_y = *vector_segment & 0xF;
             vector_segment++;