summaryrefslogtreecommitdiff
path: root/vpx_dsp/loongarch/fwd_dct32x32_lsx.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpx_dsp/loongarch/fwd_dct32x32_lsx.c')
-rw-r--r--vpx_dsp/loongarch/fwd_dct32x32_lsx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpx_dsp/loongarch/fwd_dct32x32_lsx.c b/vpx_dsp/loongarch/fwd_dct32x32_lsx.c
index e5c301b2c..9bb387721 100644
--- a/vpx_dsp/loongarch/fwd_dct32x32_lsx.c
+++ b/vpx_dsp/loongarch/fwd_dct32x32_lsx.c
@@ -13,10 +13,10 @@
#include "vpx_dsp/fwd_txfm.h"
#define UNPCK_SH_SW(in, out0, out1) \
- { \
+ do { \
out0 = __lsx_vsllwil_w_h(in, 0); \
out1 = __lsx_vexth_w_h(in); \
- }
+ } while (0)
static void fdct8x32_1d_column_load_butterfly(const int16_t *input,
int32_t src_stride,