Commit 6a7867c2 authored by reimar's avatar reimar

Remove a pointless right-shift in xan decoder.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18574 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 867ed320
......@@ -181,7 +181,7 @@ static void xan_unpack(unsigned char *dest, const unsigned char *src, int dest_l
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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment