changeset 9477:94edfc2a9b8b libavcodec

Remove a pointless right-shift in xan decoder.
author reimar
date Fri, 17 Apr 2009 17:54:55 +0000
parents 2b2bac59038e
children b0874961f1e2
files xan.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xan.c	Fri Apr 17 17:52:58 2009 +0000
+++ b/xan.c	Fri Apr 17 17:54:55 2009 +0000
@@ -181,7 +181,7 @@
             if (dest + size > dest_end)
                 return;
             av_memcpy_backptr(dest,
-                (((opcode & 0x10) >> 4) << 0x10) + 1 + (byte1 << 8) + byte2,
+                ((opcode & 0x10) << 12) + 1 + (byte1 << 8) + byte2,
                 size);
             dest += size;
         } else {