diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3d5e82d691b60b96e9174e90309f4ad9619ae216..f1a330e409071e8f36aad74ce91419171a99c1aa 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2914,6 +2914,8 @@ typedef struct AVCodecContext { #define FF_PROFILE_VP9_0 0 #define FF_PROFILE_VP9_1 1 +#define FF_PROFILE_VP9_2 2 +#define FF_PROFILE_VP9_3 3 /** * level diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 71057f35ba41bad698d7f35baa24897302eea1ae..4ba46f3ab502584e3dad40dc73523e9003e2746e 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -4089,6 +4089,8 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const AVCodecCo static const AVProfile profiles[] = { { FF_PROFILE_VP9_0, "Profile 0" }, { FF_PROFILE_VP9_1, "Profile 1" }, + { FF_PROFILE_VP9_2, "Profile 2" }, + { FF_PROFILE_VP9_3, "Profile 3" }, { FF_PROFILE_UNKNOWN }, };