From 881b80ffcf3292ffba367b907024cb861578ad6e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 17 Feb 2022 09:06:02 +0100 Subject: avfilter/vf_mix: use correct type for flags --- libavfilter/vf_mix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index 61ab963483..693b0595d8 100644 --- a/libavfilter/vf_mix.c +++ b/libavfilter/vf_mix.c @@ -56,10 +56,10 @@ typedef struct MixContext { static int query_formats(AVFilterContext *ctx) { - int reject_flags = AV_PIX_FMT_FLAG_BITSTREAM | - AV_PIX_FMT_FLAG_HWACCEL | - AV_PIX_FMT_FLAG_PAL; - int accept_flags = 0; + unsigned reject_flags = AV_PIX_FMT_FLAG_BITSTREAM | + AV_PIX_FMT_FLAG_HWACCEL | + AV_PIX_FMT_FLAG_PAL; + unsigned accept_flags = 0; if (!HAVE_BIGENDIAN) reject_flags |= AV_PIX_FMT_FLAG_BE; -- cgit v1.2.3