ffmpeg | branch: release/7.1 | Rémi Denis-Courmont <r...@remlab.net> | Sat Nov 
16 08:57:54 2024 +0200| [4ea558152f05e41f15a548e2aab8e5d40546af5f] | committer: 
Rémi Denis-Courmont

lavc/h264dsp: move RISC-V fn pointers to .data.rel.ro

This should fix PIC builds.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ea558152f05e41f15a548e2aab8e5d40546af5f
---

 libavcodec/riscv/h264dsp_rvv.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/riscv/h264dsp_rvv.S b/libavcodec/riscv/h264dsp_rvv.S
index 422ac02222..97c6708309 100644
--- a/libavcodec/riscv/h264dsp_rvv.S
+++ b/libavcodec/riscv/h264dsp_rvv.S
@@ -176,7 +176,7 @@ endfunc
 
         .global ff_h264_weight_funcs_8_rvv
         .hidden ff_h264_weight_funcs_8_rvv
-const ff_h264_weight_funcs_8_rvv
+const ff_h264_weight_funcs_8_rvv, relocate=1
         .irp    w, 16, 8, 4, 2
 #if __riscv_xlen == 32
         .word   ff_h264_weight_pixels\w\()_8_rvv

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to