mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/extract_extradata_bsf.c: add AVS2
Signed-off-by: hwren <hwrenx@126.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e7080d1fe2
commit
b8da7ba5ac
@ -331,6 +331,7 @@ static const struct {
|
||||
uint8_t **data, int *size);
|
||||
} extract_tab[] = {
|
||||
{ AV_CODEC_ID_AV1, extract_extradata_av1 },
|
||||
{ AV_CODEC_ID_AVS2, extract_extradata_mpeg4 },
|
||||
{ AV_CODEC_ID_CAVS, extract_extradata_mpeg4 },
|
||||
{ AV_CODEC_ID_H264, extract_extradata_h2645 },
|
||||
{ AV_CODEC_ID_HEVC, extract_extradata_h2645 },
|
||||
@ -397,6 +398,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_CAVS,
|
||||
AV_CODEC_ID_H264,
|
||||
AV_CODEC_ID_HEVC,
|
||||
|
Loading…
Reference in New Issue
Block a user