[FFmpeg-devel] [PATCH v9 1/3] lavc: add avs2 parser

James Almer jamrial at gmail.com
Sun Aug 5 20:26:05 EEST 2018


On 7/16/2018 4:21 AM, hwren wrote:
> +AVCodecParser ff_avs2_parser = {
> +    .codec_ids      = { AV_CODEC_ID_AVS2 },
> +    .priv_data_size = sizeof(ParseContext),
> +    .parser_parse   = avs2_parse,
> +    .parser_close   = ff_parse_close,
> +    .split          = ff_mpeg4video_split,

If the intention here is to generate out-of-band extradata out of a raw
bitstream, then you should also add the avs2 codec id to the
extract_extradata bsf the same way cavs and mpeg4 are implemented.


More information about the ffmpeg-devel mailing list