[FFmpeg-cvslog] avcodec/utvideo: fix mistake using wrong arguments for left and lefttop pixel components
Paul B Mahol
git at videolan.org
Sat Dec 24 12:03:09 EET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Dec 24 10:59:26 2016 +0100| [68e5598e22b6b51cd796b55c4111ccd1638474d9] | committer: Paul B Mahol
avcodec/utvideo: fix mistake using wrong arguments for left and lefttop pixel components
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=68e5598e22b6b51cd796b55c4111ccd1638474d9
---
libavcodec/utvideodec.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index cae0ff5..23b8202 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -414,7 +414,7 @@ static void restore_median_planar(UtvideoContext *c, uint8_t *src, int stride,
// the rest of lines use continuous median prediction
for (j = 2; j < slice_height; j++) {
c->hdspdec.add_hfyu_median_pred(bsrc, bsrc - stride,
- bsrc, width, &B, &C);
+ bsrc, width, &A, &B);
bsrc += stride;
}
}
@@ -462,14 +462,14 @@ static void restore_median_planar_il(UtvideoContext *c, uint8_t *src, int stride
A = bsrc[i];
}
c->hdspdec.add_hfyu_median_pred(bsrc + stride, bsrc - stride,
- bsrc + stride, width, &B, &C);
+ bsrc + stride, width, &A, &B);
bsrc += stride2;
// the rest of lines use continuous median prediction
for (j = 2; j < slice_height; j++) {
c->hdspdec.add_hfyu_median_pred(bsrc, bsrc - stride2,
- bsrc, width, &B, &C);
+ bsrc, width, &A, &B);
c->hdspdec.add_hfyu_median_pred(bsrc + stride, bsrc - stride,
- bsrc + stride, width, &B, &C);
+ bsrc + stride, width, &A, &B);
bsrc += stride2;
}
}
More information about the ffmpeg-cvslog
mailing list