diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2024-11-20 20:48:01 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-11-25 19:29:21 +0200 |
commit | f8e91ab05ff3d111626ab8a3b5d570865a934f07 (patch) | |
tree | a3eaa447cb7200d4fe5fd03cbbdcb26a6355d6ba | |
parent | f2b945147d10a2aa054679a276f90ac8ed21a806 (diff) | |
download | ffmpeg-f8e91ab05ff3d111626ab8a3b5d570865a934f07.tar.gz |
lavc/h264idct: fix compilation for RV32IMA
-rw-r--r-- | libavcodec/riscv/h264idct_rvv.S | 2 |
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 |