You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
committed by
Michael Niedermayer
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
|
||||
|
Reference in New Issue
Block a user