summaryrefslogtreecommitdiff
path: root/libavfilter/vf_fieldorder.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-06 18:32:25 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-06 18:34:37 +0000
commit33dacda40b7af74f9d7f5aea29e39c1aa12acdc7 (patch)
tree2d47d7827797f36e696915115d61153f9aeafcd2 /libavfilter/vf_fieldorder.c
parent86cb986ce12acb6e7e9b7bf5153469c0c73168ee (diff)
lavfi/fieldorder: remove pal8 format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_fieldorder.c')
-rw-r--r--libavfilter/vf_fieldorder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index 15204e384a..d2c01d3951 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -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) {