10l predictor should not skip first line

Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Kostya Shishkov 19 years ago
parent b59cb45632
commit b0c32a70b4
  1. 2
      libavcodec/tiff.c

@ -335,7 +335,7 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
return -1;
}
if(value == 2){
src = pic->data[0] + pic->linesize[0];
src = pic->data[0];
stride = pic->linesize[0];
soff = s->bpp >> 3;
ssize = s->width * soff;

Loading…
Cancel
Save