diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-31 21:41:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-31 23:24:32 +0100 |
commit | 0a3a69e8d77146b53a1112c715a78e7d293883b1 (patch) | |
tree | 0acf46233542d0fec66a33276a42895c3abb406a /libavcodec | |
parent | 0d17477e2c7c3eec87d715b42d33eca4089ada6f (diff) | |
download | ffmpeg-0a3a69e8d77146b53a1112c715a78e7d293883b1.tar.gz |
ffv1dec: use correct linesize
Apparently this did not break anything.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ffv1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 7a88688d17..3f699105dc 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -1435,7 +1435,7 @@ static int decode_slice(AVCodecContext *c, void *arg){ decode_plane(fs, p->data[0] + ps*x + y*p->linesize[0], width, height, p->linesize[0], 0); decode_plane(fs, p->data[1] + ps*cx+cy*p->linesize[1], chroma_width, chroma_height, p->linesize[1], 1); - decode_plane(fs, p->data[2] + ps*cx+cy*p->linesize[1], chroma_width, chroma_height, p->linesize[2], 1); + decode_plane(fs, p->data[2] + ps*cx+cy*p->linesize[2], chroma_width, chroma_height, p->linesize[2], 1); if (fs->transparency) decode_plane(fs, p->data[3] + ps*x + y*p->linesize[3], width, height, p->linesize[3], 2); }else{ |