diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2024-07-31 17:45:28 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-08-01 18:44:01 +0300 |
commit | 54b1970c60743eb1ce971d66c6b6230a36040687 (patch) | |
tree | f29d00163f6d76f568ca52e8a9246bd7fb67c79c /libavutil/riscv/intmath.h | |
parent | 54ae270213b5a98f923bfd4506e450b2e764ede2 (diff) | |
download | ffmpeg-54b1970c60743eb1ce971d66c6b6230a36040687.tar.gz |
lavu/riscv: fix return type
Diffstat (limited to 'libavutil/riscv/intmath.h')
-rw-r--r-- | libavutil/riscv/intmath.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |