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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel