Commit 33dacda4 authored by Paul B Mahol's avatar Paul B Mahol

lavfi/fieldorder: remove pal8 format

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 86cb986c
......@@ -52,6 +52,7 @@ static int query_formats(AVFilterContext *ctx)
for (pix_fmt = 0; pix_fmt < AV_PIX_FMT_NB; pix_fmt++) {
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);
if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL ||
desc->flags & AV_PIX_FMT_FLAG_PAL ||
desc->flags & AV_PIX_FMT_FLAG_BITSTREAM) &&
desc->nb_components && !desc->log2_chroma_h &&
(ret = ff_add_format(&formats, pix_fmt)) < 0) {
......
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