Commit 52b909b5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/prosumer: remove unneeded variable from vertical_predict

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 093607f0
......@@ -134,13 +134,11 @@ static int decompress(GetByteContext *gb, int size, PutByteContext *pb, const ui
static void vertical_predict(uint32_t *dst, int offset, const uint32_t *src, int stride, int height)
{
uint32_t x = (0x7F7F7F7F >> 1) & 0x7F7F7F7F;
dst += offset >> 2;
for (int i = 0; i < height; i++) {
for (int j = 0; j < stride >> 2; j++) {
dst[j] = (((src[j] >> 3) + (x & dst[j])) << 3) & 0xFCFCFCFC;
dst[j] = (((src[j] >> 3) + (0x3F3F3F3F & dst[j])) << 3) & 0xFCFCFCFC;
}
dst += stride >> 2;
......
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