Commit 26ac6d54 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavfi/boxblur: Readd 8bit colour spaces on big-endian.

parent bf3126db
...@@ -124,7 +124,7 @@ static int query_formats(AVFilterContext *ctx) ...@@ -124,7 +124,7 @@ static int query_formats(AVFilterContext *ctx)
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt); 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)) && 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_PLANAR || desc->nb_components == 1) &&
!(desc->flags & AV_PIX_FMT_FLAG_BE) == !HAVE_BIGENDIAN) (!(desc->flags & AV_PIX_FMT_FLAG_BE) == !HAVE_BIGENDIAN) || desc->comp[0].depth_minus1 == 7)
ff_add_format(&formats, fmt); ff_add_format(&formats, fmt);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment