1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

10l predictor should not skip first line

Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2006-10-26 04:06:08 +00:00
parent b59cb45632
commit b0c32a70b4

View File

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