« Previous | Next » 

Revision dd5f3238

IDdd5f3238c13e2a6a2caf4d550113219d73122fde
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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences