Re: [FFmpeg-devel] [PATCH] add prores bitstream demuxer and muxer

2023-07-24 Thread James Almer
On 7/24/2023 12:25 PM, Tomas Härdin wrote: +static int prores_check_frame_header(const uint8_t *buf, const int data_size) +{ +    int hdr_size, width, height; +    int version, alpha_info; + +    hdr_size = AV_RB16(buf); +    if (hdr_size < 20) +    return AVERROR_INVALIDDATA; + +    version

Re: [FFmpeg-devel] [PATCH] add prores bitstream demuxer and muxer

2023-07-24 Thread Tomas Härdin
> +static int prores_check_frame_header(const uint8_t *buf, const int > data_size) > +{ > +    int hdr_size, width, height; > +    int version, alpha_info; > + > +    hdr_size = AV_RB16(buf); > +    if (hdr_size < 20) > +    return AVERROR_INVALIDDATA; > + > +    version = buf[3]; > +    if (ve

Re: [FFmpeg-devel] [PATCH] add prores bitstream demuxer and muxer

2023-07-24 Thread Derek Buitenhuis
On 7/24/2023 3:37 AM, hung kuishing wrote: > --- > libavcodec/Makefile| 1 + > libavcodec/parsers.c | 1 + > libavcodec/prores_parser.c | 91 ++ > libavformat/Makefile | 2 + > libavformat/allformats.c | 2 + > libavformat/proresdec.c

Re: [FFmpeg-devel] [PATCH] add prores bitstream demuxer and muxer

2023-07-24 Thread Andreas Rheinhardt
hung kuishing: > --- > libavcodec/Makefile| 1 + > libavcodec/parsers.c | 1 + > libavcodec/prores_parser.c | 91 ++ > libavformat/Makefile | 2 + > libavformat/allformats.c | 2 + > libavformat/proresdec.c| 62 +

[FFmpeg-devel] [PATCH] add prores bitstream demuxer and muxer

2023-07-23 Thread hung kuishing
--- libavcodec/Makefile| 1 + libavcodec/parsers.c | 1 + libavcodec/prores_parser.c | 91 ++ libavformat/Makefile | 2 + libavformat/allformats.c | 2 + libavformat/proresdec.c| 62 ++ libavformat/rawenc.c