[FFmpeg-devel] [PATCH] libavcodec/zmbvenc.c: don't allow motion estimation out of range.

Matthew Fearnley matthew.w.fearnley at gmail.com
Wed Dec 19 21:58:24 EET 2018


Hi,
Just to say, after further reviewing the logic in zmbv_me() and block_cmp(), I think it all tenuously holds together, with no possibilities of incorrect xored values or undefined behaviour. But it is quite fragile.

I’m planning some patches to strengthen/clarify the logic, and to make it more resilient to future changes, but I think this patch is good to go, as it is now.

Kind regards

Matthew

> On 15 Dec 2018, at 20:54, Matthew Fearnley <matthew.w.fearnley at gmail.com> wrote:
> 


More information about the ffmpeg-devel mailing list