summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-19 16:51:26 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-19 16:51:26 +0000
commitdd5f3238c13e2a6a2caf4d550113219d73122fde (patch)
tree674e78d15286d081fdedd3a05bab35dcff78ab1a /libavformat
parentb42c483f076e4b24fdeada59e138e421326c45ec (diff)
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
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions