Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-10-26 08:06:08 +0400
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-10-26 08:06:08 +0400
commitb0c32a70b4ef12a5317841f83128a0597320577f (patch)
treea1c4daa97602d545db1a82e7ae6e001179ec1b76 /libavcodec/tiff.c
parentb59cb45632165d6dba401341d4c45de044c72b16 (diff)
10l predictor should not skip first line
Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 4fa54bb7b1..41182d0091 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;