comparison psymodel.h @ 12391:4be72e19ab0e libavcodec

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.
author mru
date Thu, 19 Aug 2010 16:51:26 +0000
parents 7f42ae22c351
children 94b578d0af10
comparison
equal deleted inserted replaced
12390:21133d90ecf2 12391:4be72e19ab0e