From b0c32a70b4ef12a5317841f83128a0597320577f Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Thu, 26 Oct 2006 04:06:08 +0000
Subject: [PATCH] 10l predictor should not skip first line

Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/tiff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 4fa54bb7b1a..41182d00919 100644
--- a/libavcodec/tiff.c
+++ b/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;
-- 
GitLab