diff options
author | hwren <hwrenx@126.com> | 2018-08-06 21:42:51 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-08-23 16:00:26 +0200 |
commit | b8da7ba5ac99e434fe99e12c105cc52cab147059 (patch) | |
tree | 4b918540a2db1107779c3adf914494d79e2d1809 | |
parent | e7080d1fe29b0fc2ef3ac99234e037e6a49f5c97 (diff) | |
download | ffmpeg-b8da7ba5ac99e434fe99e12c105cc52cab147059.tar.gz |
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>
-rw-r--r-- | libavcodec/extract_extradata_bsf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/extract_extradata_bsf.c b/libavcodec/extract_extradata_bsf.c index 6deb6634f3..f37427c7e1 100644 --- a/libavcodec/extract_extradata_bsf.c +++ b/libavcodec/extract_extradata_bsf.c @@ -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, |