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

This should fix PIC builds.
release/7.1
Rémi Denis-Courmont 1 month ago
parent 11e8319b8e
commit 4ea558152f
  1. 2
      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

Loading…
Cancel
Save