ffmpeg | branch: master | Ronald S. Bultje <[email protected]> | Mon Jun 1 11:17:44 2015 -0400| [138581c41a129bdc86b97230d63dfc7fc98271a4] | committer: Michael Niedermayer
vp9: clamp final zero MV if find_ref_mvs() found no suitable candidates. This may actually result in a non-zero MV. Fixes ticket 4583. Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=138581c41a129bdc86b97230d63dfc7fc98271a4 --- libavcodec/vp9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 93b3c96..c4efd42 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -1273,6 +1273,7 @@ static void find_ref_mvs(VP9Context *s, } AV_ZERO32(pmv); + clamp_mv(pmv, pmv, s); #undef INVALID_MV #undef RETURN_MV #undef RETURN_SCALE_MV _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
