aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-11-20 20:48:01 +0200
committerRémi Denis-Courmont <remi@remlab.net>2024-11-25 19:29:21 +0200
commitf8e91ab05ff3d111626ab8a3b5d570865a934f07 (patch)
treea3eaa447cb7200d4fe5fd03cbbdcb26a6355d6ba
parentf2b945147d10a2aa054679a276f90ac8ed21a806 (diff)
downloadffmpeg-f8e91ab05ff3d111626ab8a3b5d570865a934f07.tar.gz
lavc/h264idct: fix compilation for RV32IMA
-rw-r--r--libavcodec/riscv/h264idct_rvv.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/riscv/h264idct_rvv.S b/libavcodec/riscv/h264idct_rvv.S
index 5adcfd295e..2a40e87d62 100644
--- a/libavcodec/riscv/h264idct_rvv.S
+++ b/libavcodec/riscv/h264idct_rvv.S
@@ -629,6 +629,7 @@ endfunc
.endm
.macro idct4_add8 type, depth
+#if (__riscv_xlen == 64)
func ff_h264_idct4_add\type\()_\depth\()_rvv, zve32x
.if \depth == 8
lpad 0
@@ -682,6 +683,7 @@ func ff_h264_idct4_add\type\()_\depth\()_rvv, zve32x
vsetivli zero, 4, e8, m1, ta, ma
j .Lidct4_add4_\depth\()_rvv
endfunc
+#endif
.endm
.irp depth, 8, 16