Browse code

lavfi/fieldorder: remove pal8 format

Signed-off-by: Paul B Mahol <onemda@gmail.com>

Paul B Mahol authored on 2013/09/07 03:32:25
Showing 1 changed files
... ...
@@ -52,6 +52,7 @@ static int query_formats(AVFilterContext *ctx)
52 52
         for (pix_fmt = 0; pix_fmt < AV_PIX_FMT_NB; pix_fmt++) {
53 53
             const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);
54 54
             if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL ||
55
+                  desc->flags & AV_PIX_FMT_FLAG_PAL     ||
55 56
                   desc->flags & AV_PIX_FMT_FLAG_BITSTREAM) &&
56 57
                 desc->nb_components && !desc->log2_chroma_h &&
57 58
                 (ret = ff_add_format(&formats, pix_fmt)) < 0) {