Commit 6145b1d9 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'bf2064f0'

* commit 'bf2064f0':
  tiffdec: rename variables for consistency and fix variable shadowing

Conflicts:
	libavcodec/tiff.c

See: 251345a3Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 69505a89 bf2064f0
......@@ -1097,7 +1097,7 @@ static int decode_frame(AVCodecContext *avctx,
for (i = 0; i < s->height; i++) {
for (j = 0; j < p->linesize[plane]; j++)
dst[j] = (s->avctx->pix_fmt == AV_PIX_FMT_PAL8 ? (1<<s->bpp) - 1 : 255) - dst[j];
dst += p->linesize[plane];
dst += stride;
}
}
}
......
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