diff options
author | Mark Reid <mindmark@gmail.com> | 2021-11-14 22:22:20 -0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-11-15 16:50:08 -0300 |
commit | c3502f4f75583a530bc54e2cb6754236d72f204b (patch) | |
tree | bd4b459538e7298a8dc4002916861690644ca3f6 /libswscale/aarch64/yuv2rgb_neon.S | |
parent | a7dfa6b446e8ced9f25efd0597e6073e6b22a94b (diff) | |
download | ffmpeg-c3502f4f75583a530bc54e2cb6754236d72f204b.tar.gz |
libavutil/common: clip nan value to amin
Changes av_clipf to return amin if a is nan.
Before if a is nan av_clipf_c returned nan and
av_clipf_sse would return amax. Now the both
should behave the same.
This works because nan > amin is false.
The max(nan, amin) will be amin.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswscale/aarch64/yuv2rgb_neon.S')
0 files changed, 0 insertions, 0 deletions