aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-08-24 19:10:19 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-10-19 20:15:48 +0800
commitff7ed0b006dfe35d02ef14034e9ee514f8d5963d (patch)
tree7998f53047d0de681f22a52e6221753df7ef86d9
parent38052757f52c9a5590472ed1fa1e53ae76c356fc (diff)
downloadffmpeg-ff7ed0b006dfe35d02ef14034e9ee514f8d5963d.tar.gz
avcodec/extract_extradata_bsf: add support for AVS3
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavcodec/extract_extradata_bsf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/extract_extradata_bsf.c b/libavcodec/extract_extradata_bsf.c
index 32c732f52b..dbcb8508b0 100644
--- a/libavcodec/extract_extradata_bsf.c
+++ b/libavcodec/extract_extradata_bsf.c
@@ -328,6 +328,7 @@ static const struct {
} extract_tab[] = {
{ AV_CODEC_ID_AV1, extract_extradata_av1 },
{ AV_CODEC_ID_AVS2, extract_extradata_mpeg4 },
+ { AV_CODEC_ID_AVS3, extract_extradata_mpeg4 },
{ AV_CODEC_ID_CAVS, extract_extradata_mpeg4 },
{ AV_CODEC_ID_H264, extract_extradata_h2645 },
{ AV_CODEC_ID_HEVC, extract_extradata_h2645 },
@@ -396,6 +397,7 @@ static void extract_extradata_close(AVBSFContext *ctx)
static const enum AVCodecID codec_ids[] = {
AV_CODEC_ID_AV1,
AV_CODEC_ID_AVS2,
+ AV_CODEC_ID_AVS3,
AV_CODEC_ID_CAVS,
AV_CODEC_ID_H264,
AV_CODEC_ID_HEVC,