]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_shuffleplanes.c
avutil/pixdesc: deprecate AV_PIX_FMT_FLAG_PSEUDOPAL
[ffmpeg] / libavfilter / vf_shuffleplanes.c
index 4bc7b79f8743cd49e52f5589f156eb9ef548645c..32d2d585f3ba3b790a5ab9e80ac3841f679ecab7 100644 (file)
@@ -69,7 +69,7 @@ static av_cold int shuffleplanes_config_input(AVFilterLink *inlink)
         }
 
         if ((desc->flags & AV_PIX_FMT_FLAG_PAL ||
-             desc->flags & AV_PIX_FMT_FLAG_PSEUDOPAL) &&
+             desc->flags & FF_PSEUDOPAL) &&
             (i == 1) != (s->map[i] == 1)) {
             av_log(ctx, AV_LOG_ERROR,
                    "Cannot map between a palette plane and a data plane.\n");