Message ID | 20240731144540.443760-1-remi@remlab.net |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] lavu/riscv: fix return type | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/riscv/intmath.h b/libavutil/riscv/intmath.h index 24f165eef1..a09248f903 100644 --- a/libavutil/riscv/intmath.h +++ b/libavutil/riscv/intmath.h @@ -84,8 +84,8 @@ static av_always_inline av_const float av_clipf_rvf(float a, float min, #if defined (__riscv_d) || defined (__riscv_zdinx) #define av_clipd av_clipd_rvd -static av_always_inline av_const float av_clipd_rvd(double a, double min, - double max) +static av_always_inline av_const double av_clipd_rvd(double a, double min, + double max) { return fmin(fmax(a, min), max); }