annotate inverse.c @ 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 5d73c4b4cd37
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12208
5d73c4b4cd37 Make ff_inverse stay with libavutil, and optional copy it to libavcodec.
flameeyes
parents:
diff changeset
1 #include "libavutil/inverse.c"