avcodec/motion_est: Only clip MVs which are used
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Jun 2014 20:08:15 +0000 (22:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Jun 2014 20:15:04 +0000 (22:15 +0200)
commitef8725122d23b7dfc23cb87b84267b78d90586ab
tree77cbba138fee301177e993afa70c2fa2c8c890f3
parentedeefeaaf9b6b36a3ce1f9069c35845a3f0f8ba7
avcodec/motion_est: Only clip MVs which are used

Fixes valgrind mpeg4 failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/motion_est.c