Commit 5e12701c authored by Reimar Döffinger's avatar Reimar Döffinger

Remove a pointless right-shift in xan decoder.

Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 25ef0072
......@@ -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