diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e57170b509..09b9b42ec7 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -267,6 +267,7 @@ enum AVCodecID { AV_CODEC_ID_MTS2, AV_CODEC_ID_CLLC, AV_CODEC_ID_MSS2, + AV_CODEC_ID_VP9, /* various PCM "codecs" */ AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 5d1c13406a..7976be04a3 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -79,6 +79,7 @@ const CodecTags ff_mkv_codec_tags[]={ {"V_THEORA" , AV_CODEC_ID_THEORA}, {"V_UNCOMPRESSED" , AV_CODEC_ID_RAWVIDEO}, {"V_VP8" , AV_CODEC_ID_VP8}, + {"V_VP9" , AV_CODEC_ID_VP9}, {"" , AV_CODEC_ID_NONE} };