« Previous | Next » 

Revision dd5f3238

Parent b42c483f
Child b2125520

Added by Måns Rullgård almost 11 years ago

imc: fix undefined float to int conversion

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/trunk


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences