OSDN Git Service

10l predictor should not skip first line
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 26 Oct 2006 04:06:08 +0000 (04:06 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 26 Oct 2006 04:06:08 +0000 (04:06 +0000)
Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/tiff.c

index 4fa54bb..41182d0 100644 (file)
@@ -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;