1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Remove a pointless right-shift in xan decoder.

Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-04-17 17:54:55 +00:00
parent 25ef00720b
commit 5e12701c5c

View File

@ -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 {