avfilter/vf_mix: use correct type for flags

release/5.1
Paul B Mahol 3 years ago
parent b9306afce6
commit 881b80ffcf
  1. 8
      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;

Loading…
Cancel
Save