diff options
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index b25d453e41..d7e881dafb 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -332,8 +332,8 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf, j += s->subsampling[1] - 1; } else - memcpy(zbuf + j * bytes_per_row, - p->data[0] + j * p->linesize[0], bytes_per_row); + memcpy(zbuf + j * bytes_per_row, + p->data[0] + j * p->linesize[0], bytes_per_row); zn += bytes_per_row; } n = encode_strip(s, zbuf, ptr, zn, s->compr); |