summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
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++;