libavcodec/mips: Fix build errors reported by clang
authorJin Bo <jinbo@loongson.cn>
Tue, 1 Jun 2021 06:22:09 +0000 (14:22 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Jun 2021 11:44:00 +0000 (13:44 +0200)
commitfd5fd48659a956b1b890c217d04f77f2bdab6a44
treefe1e3ec5cf789097e6db2193b65a18cf3083feb6
parent864d1ef2fc88c300613a5a9f1465f98f3559110c
libavcodec/mips: Fix build errors reported by clang

Clang is more strict on the type of asm operands, float or double
type variable should use constraint 'f', integer variable should
use constraint 'r'.

Signed-off-by: Jin Bo <jinbo@loongson.cn>
Reviewed-by: yinshiyou-hf@loongson.cn
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
12 files changed:
libavcodec/mips/constants.c
libavcodec/mips/constants.h
libavcodec/mips/h264chroma_mmi.c
libavcodec/mips/h264dsp_mmi.c
libavcodec/mips/h264pred_mmi.c
libavcodec/mips/h264qpel_mmi.c
libavcodec/mips/hevcdsp_mmi.c
libavcodec/mips/idctdsp_mmi.c
libavcodec/mips/mpegvideo_mmi.c
libavcodec/mips/vc1dsp_mmi.c
libavcodec/mips/vp8dsp_mmi.c
libavutil/mips/asmdefs.h