[FFmpeg-devel] [PATCH] avcodec/mp_cmp: reject invalid comparison function values

James Almer jamrial at gmail.com
Fri Apr 14 15:16:23 EEST 2023


On 4/13/2023 10:23 AM, James Almer wrote:
> Fixes ticket #10318.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/dvenc.c         |  4 +++-
>   libavcodec/me_cmp.c        |  9 +++++++--
>   libavcodec/me_cmp.h        |  2 +-
>   libavcodec/motion_est.c    | 11 +++++++----
>   libavcodec/mpegvideo_enc.c |  6 ++++--
>   libavcodec/snowenc.c       |  6 ++++--
>   6 files changed, 26 insertions(+), 12 deletions(-)

Will apply.


More information about the ffmpeg-devel mailing list