lavfi/fieldorder: remove pal8 format
authorPaul B Mahol <onemda@gmail.com>
Fri, 6 Sep 2013 18:32:25 +0000 (18:32 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 6 Sep 2013 18:34:37 +0000 (18:34 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_fieldorder.c

index 15204e3..d2c01d3 100644 (file)
@@ -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) {