summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-17 20:01:45 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-17 20:01:45 +0000
commite62f62219353d333df45aa7f8327631d6cd9d31d (patch)
treed72bd23918175704fcfd9fb13bc0ae38b9b58219 /libavcodec/xan.c
parent977d813447a023b508e148b990445756faf3e393 (diff)
Remove a useless "& 0xF"
Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r--libavcodec/xan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index 4152ff4540..bb6dab49ce 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -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++;