summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-02-01 10:46:16 +0100
committerAnton Khirnov <anton@khirnov.net>2022-02-15 10:16:16 +0100
commitcefa595361db9d934b52ea7870fd14a4e7110eb1 (patch)
tree22780ca5c0b6942324ec39ca5039d4014cc5f4ad /libavutil/pixdesc.c
parent41d25efade20b20d06d64c2eb7751b70653518e8 (diff)
lavu/pixfmt: deprecate AV_PIX_FMT_XVMC
It is no longer used for anything.
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 727d7540b3..6e57a82cb6 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -432,10 +432,12 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
},
.flags = AV_PIX_FMT_FLAG_PLANAR,
},
+#if FF_API_XVMC
[AV_PIX_FMT_XVMC] = {
.name = "xvmc",
.flags = AV_PIX_FMT_FLAG_HWACCEL,
},
+#endif
[AV_PIX_FMT_UYVY422] = {
.name = "uyvy422",
.nb_components = 3,