From dae95b3ffd62ed86cd2e3798c2f281aa67969eca Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 2 Mar 2022 22:30:40 +0100 Subject: avfilter/vf_maskedmerge: fix rounding when masking --- libavfilter/maskedmerge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/maskedmerge.h') diff --git a/libavfilter/maskedmerge.h b/libavfilter/maskedmerge.h index 8e2b1cf676..c1cf8027e4 100644 --- a/libavfilter/maskedmerge.h +++ b/libavfilter/maskedmerge.h @@ -30,7 +30,7 @@ typedef struct MaskedMergeContext { int linesize[4]; int nb_planes; int planes; - int half, depth; + int half, depth, max; FFFrameSync fs; void (*maskedmerge)(const uint8_t *bsrc, const uint8_t *osrc, -- cgit v1.2.3