[FFmpeg-cvslog] lavu/riscv: fix return type

Rémi Denis-Courmont git at videolan.org
Thu Aug 1 18:49:42 EEST 2024


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 31 17:45:28 2024 +0300| [54b1970c60743eb1ce971d66c6b6230a36040687] | committer: Rémi Denis-Courmont

lavu/riscv: fix return type

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

 libavutil/riscv/intmath.h | 4 ++--
 1 file 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);
 }



More information about the ffmpeg-cvslog mailing list