]> git.sesse.net Git - ffmpeg/commitdiff
Use an int MotionVector for find_block_motion.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 7 Jan 2012 11:20:38 +0000 (12:20 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 12 Jan 2012 19:09:16 +0000 (20:09 +0100)
Using the double variant causes several pointless conversions between
double and int.
Worse, one of the conversions is in an inner loop together with a
function using MMX, resulting in undefined behaviour.
Based on debugging by Ray Simard.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Tested-by: Ray Simard <rhs.ffmpeg@sylvan-glade.com>

No differences found