avfilter/vf_mix: use correct type for flags

This commit is contained in:
Paul B Mahol 2022-02-17 09:06:02 +01:00
parent b9306afce6
commit 881b80ffcf
1 changed files with 4 additions and 4 deletions

View File

@ -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;