changeset 4079:00a0b18cfb92 libavcodec

10l predictor should not skip first line
author kostya
date Thu, 26 Oct 2006 04:06:08 +0000
parents 6a10cc9adb8a
children f426c81afc9e
files tiff.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tiff.c	Tue Oct 24 18:57:43 2006 +0000
+++ b/tiff.c	Thu Oct 26 04:06:08 2006 +0000
@@ -335,7 +335,7 @@
             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;