mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-03 13:24:05 +00:00
lavu/riscv: fix return type
This commit is contained in:
parent
54ae270213
commit
54b1970c60
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user