On 6/6/2020 8:06 PM, Michael Niedermayer wrote: > On Sat, Jun 06, 2020 at 11:42:17AM +0530, gautamr...@gmail.com wrote: >> From: Gautam Ramakrishnan <gautamr...@gmail.com> >> >> I have attempted to write a JPEG2000 Parser. Have tested >> by generating a file containing 14 frames, as mentioned >> by Micheal. Have also tried testing with various packet >> sizes by setting -frame_size option. Additionally, >> fixed a few formatting issues as pointed out by Micheal. >> --- >> libavcodec/Makefile | 1 + >> libavcodec/jpeg2000_parser.c | 190 +++++++++++++++++++++++++++++++++++ >> libavcodec/parsers.c | 1 + >> 3 files changed, 192 insertions(+) >> create mode 100644 libavcodec/jpeg2000_parser.c > > will apply > > thx
> +AVCodecParser ff_jpeg2000_parser = { > + .codec_ids = { AV_CODEC_ID_JPEG2000 }, > + .priv_data_size = sizeof(JPEG2000ParserContext), > + .parser_parse = jpeg2000_parse, > + .parser_close = ff_parse_close, > +}; > \ No newline at end of file Please, fix this before pushing. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".