aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-22 22:42:51 +0100
committerMark Thompson <sw@jkqxz.net>2018-05-02 01:21:33 +0100
commitb5df289eb771e3cd45a5e02b6c3ad05df34df291 (patch)
tree2932f3b329c23520767561e174b79730e89b6179 /libavcodec/cbs.c
parent300ef253141fbebf9b201de676db1bb9e4298c40 (diff)
downloadffmpeg-b5df289eb771e3cd45a5e02b6c3ad05df34df291.tar.gz
lavc: Add coded bitstream read/write support for VP9
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 dd46d09f42..be6c043b58 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -38,6 +38,9 @@ static const CodedBitstreamType *cbs_type_table[] = {
#if CONFIG_CBS_MPEG2
&ff_cbs_type_mpeg2,
#endif
+#if CONFIG_CBS_VP9
+ &ff_cbs_type_vp9,
+#endif
};
const enum AVCodecID ff_cbs_all_codec_ids[] = {
@@ -50,6 +53,9 @@ const enum AVCodecID ff_cbs_all_codec_ids[] = {
#if CONFIG_CBS_MPEG2
AV_CODEC_ID_MPEG2VIDEO,
#endif
+#if CONFIG_CBS_VP9
+ AV_CODEC_ID_VP9,
+#endif
AV_CODEC_ID_NONE
};