Commit ddb787e6 authored by kostya's avatar kostya

10l predictor should not skip first line

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6794 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a1682981
...@@ -335,7 +335,7 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t ...@@ -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;
......
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