mirror of https://github.com/FFmpeg/FFmpeg.git
Conversion of an out of range float to int is undefined. Clipping to the final range first avoids such problems. This fixes decoding on MIPS, which handles these conversions differently from many other CPUs. Originally committed as revision 24838 to svn://svn.ffmpeg.org/ffmpeg/trunkoldabi
parent
b42c483f07
commit
dd5f3238c1
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue