Hello,
On 7/25/2023 12:21 PM, hung kuishing wrote:
> Signed-off-by: clarkh
> ---
> libavcodec/Makefile| 1 +
> libavcodec/parsers.c | 1 +
> libavcodec/prores_parser.c | 107 +
> libavformat/Makefile | 2 +
> libavformat/allformats.c
> +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 < FRAME_FIXED_HEADER_SIZE)
> + return AVERROR_INVALIDDATA;
> +
> + version =
Signed-off-by: clarkh
---
libavcodec/Makefile| 1 +
libavcodec/parsers.c | 1 +
libavcodec/prores_parser.c | 107 +
libavformat/Makefile | 2 +
libavformat/allformats.c | 2 +
libavformat/proresdec.c| 66