lavfi/boxblur: Fix colourpsace list.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 10 Mar 2015 21:55:30 +0000 (22:55 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 10 Mar 2015 21:55:30 +0000 (22:55 +0100)
Fixes ticket #4363.

libavfilter/vf_boxblur.c

index 3ccf268..bcf0ca5 100644 (file)
@@ -124,7 +124,7 @@ static int query_formats(AVFilterContext *ctx)
         const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt);
         if (!(desc->flags & (AV_PIX_FMT_FLAG_HWACCEL | AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_PAL)) &&
             (desc->flags & AV_PIX_FMT_FLAG_PLANAR || desc->nb_components == 1) &&
-            (!(desc->flags & AV_PIX_FMT_FLAG_BE) == !HAVE_BIGENDIAN) || desc->comp[0].depth_minus1 == 7)
+            (!(desc->flags & AV_PIX_FMT_FLAG_BE) == !HAVE_BIGENDIAN || desc->comp[0].depth_minus1 == 7))
             ff_add_format(&formats, fmt);
     }