summaryrefslogtreecommitdiff
path: root/libavcodec/codec_id.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-08-07 14:50:18 -0300
committerJames Almer <jamrial@gmail.com>2022-08-19 22:48:42 -0300
commit352799dca8f80b81c37ae3260e424b9479269829 (patch)
treeb64595d92b9e56c0c2ccb2139fd7f5ece733cb78 /libavcodec/codec_id.h
parentaca569aad26f33fe68eb36c5c689b2dc4de77084 (diff)
The vuya pixel format was recently added, so this lavc workaround is no longer
needed. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/codec_id.h')
-rw-r--r--libavcodec/codec_id.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
index 386a00a7ef..2247bc0309 100644
--- a/libavcodec/codec_id.h
+++ b/libavcodec/codec_id.h
@@ -24,6 +24,8 @@
#include "libavutil/avutil.h"
#include "libavutil/samplefmt.h"
+#include "version_major.h"
+
/**
* @addtogroup lavc_core
* @{
@@ -251,7 +253,9 @@ enum AVCodecID {
AV_CODEC_ID_AVRP,
AV_CODEC_ID_012V,
AV_CODEC_ID_AVUI,
+#if FF_API_AYUV_CODECID
AV_CODEC_ID_AYUV,
+#endif
AV_CODEC_ID_TARGA_Y216,
AV_CODEC_ID_V308,
AV_CODEC_ID_V408,