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
> +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
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
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 +
---
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