Remove a pointless right-shift in xan decoder.

Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 16 years ago
parent 25ef00720b
commit 5e12701c5c
  1. 2
      libavcodec/xan.c

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

Loading…
Cancel
Save