- riscv: test for assembler support
  b3825bbe452c8e4f129fa90bba1fed0ee7b87d71

Index: libswscale/riscv/rgb2rgb.c
--- libswscale/riscv/rgb2rgb.c.orig
+++ libswscale/riscv/rgb2rgb.c
@@ -42,6 +42,7 @@ void ff_yuyvtoyuv422_rvv(uint8_t *ydst, uint8_t *udst,
 
 av_cold void rgb2rgb_init_riscv(void)
 {
+#if HAVE_RV
     int flags = av_get_cpu_flags();
 
 #if (__riscv_xlen == 64)
@@ -58,5 +59,6 @@ av_cold void rgb2rgb_init_riscv(void)
         uyvytoyuv422 = ff_uyvytoyuv422_rvv;
         yuyvtoyuv422 = ff_yuyvtoyuv422_rvv;
     }
+#endif
 #endif
 }
