From af44460880f4862a45519baf312a1520a611ba0d Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Fri, 28 Mar 2014 01:53:53 -0700 Subject: [PATCH] fix typo in STORE_WHT was working ok because dst == out Change-Id: I27095129a11f468422250dd2b8fad8b3bd4e5bbd --- src/dsp/dec_neon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dsp/dec_neon.c b/src/dsp/dec_neon.c index 0e0dae99..0604aa7d 100644 --- a/src/dsp/dec_neon.c +++ b/src/dsp/dec_neon.c @@ -360,11 +360,11 @@ static void TransformDC(const int16_t* in, uint8_t* dst) { //------------------------------------------------------------------------------ -#define STORE_WHT(dst, col, row01, row23) do { \ - *dst = vgetq_lane_s32(row01.val[0], col); out += 16; \ - *dst = vgetq_lane_s32(row01.val[1], col); out += 16; \ - *dst = vgetq_lane_s32(row23.val[0], col); out += 16; \ - *dst = vgetq_lane_s32(row23.val[1], col); out += 16; \ +#define STORE_WHT(dst, col, row01, row23) do { \ + *dst = vgetq_lane_s32(row01.val[0], col); (dst) += 16; \ + *dst = vgetq_lane_s32(row01.val[1], col); (dst) += 16; \ + *dst = vgetq_lane_s32(row23.val[0], col); (dst) += 16; \ + *dst = vgetq_lane_s32(row23.val[1], col); (dst) += 16; \ } while (0) static void TransformWHT(const int16_t* in, int16_t* out) {