From 9475bef4d757083ef70d798d8b3b4fb8a3f00f6c Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 4 Dec 2014 23:12:30 -0800 Subject: [PATCH] PickBestUV: fix VP8Copy16x8 invocation param order is src, dst broken in: 66ad372 factorize BPS definition in dsp.h and add VP8Copy16x8 Change-Id: I761f618e3fe31ae7f58953256381f4f16bdb238e --- src/enc/quant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc/quant.c b/src/enc/quant.c index 35fef714..d403ddc7 100644 --- a/src/enc/quant.c +++ b/src/enc/quant.c @@ -1067,7 +1067,7 @@ static void PickBestUV(VP8EncIterator* const it, VP8ModeScore* const rd) { VP8SetIntraUVMode(it, rd->mode_uv); AddScore(rd, &rd_best); if (dst != dst0) { // copy 16x8 block if needed - VP8Copy16x8(dst0, dst); + VP8Copy16x8(dst, dst0); } }