mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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 <michaelni@gmx.at>
This commit is contained in:
parent
deed77ffee
commit
138581c41a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user