summaryrefslogtreecommitdiff
path: root/libavcodec/cbs.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-09-09 23:08:11 +0100
committerMark Thompson <sw@jkqxz.net>2018-09-26 23:27:53 +0100
commitc8c81ac5026c20ce60860dc9aa905e5e1634bed1 (patch)
tree81af3b529e2b4a54a26f945546bba25dbe23ef3e /libavcodec/cbs.c
parent5ee4144701921cef908c159a4042c8fa9a7b24d1 (diff)
downloadffmpeg-c8c81ac5026c20ce60860dc9aa905e5e1634bed1.tar.gz
lavc: Add coded bitstream read/write support for AV1
Diffstat (limited to 'libavcodec/cbs.c')
-rw-r--r--libavcodec/cbs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
index bb3ce95971..ecbf57c293 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -29,6 +29,9 @@
static const CodedBitstreamType *cbs_type_table[] = {
+#if CONFIG_CBS_AV1
+ &ff_cbs_type_av1,
+#endif
#if CONFIG_CBS_H264
&ff_cbs_type_h264,
#endif
@@ -47,6 +50,9 @@ static const CodedBitstreamType *cbs_type_table[] = {
};
const enum AVCodecID ff_cbs_all_codec_ids[] = {
+#if CONFIG_CBS_AV1
+ AV_CODEC_ID_AV1,
+#endif
#if CONFIG_CBS_H264
AV_CODEC_ID_H264,
#endif