[FFmpeg-devel] [PATCH 1/7] avcodec/proresdec: Include required headers directly
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sun Sep 10 11:50:25 EEST 2023
Andreas Rheinhardt:
> Do not rely on an indirect inclusion of avcodec.h in proresdsp.h.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/proresdec.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/libavcodec/proresdec.h b/libavcodec/proresdec.h
> index 1e48752e6f..230fca41f2 100644
> --- a/libavcodec/proresdec.h
> +++ b/libavcodec/proresdec.h
> @@ -22,10 +22,15 @@
> #ifndef AVCODEC_PRORESDEC_H
> #define AVCODEC_PRORESDEC_H
>
> +#include <stdint.h>
> +
> #include "get_bits.h"
> #include "blockdsp.h"
> #include "proresdsp.h"
>
> +#include "libavutil/frame.h"
> +#include "libavutil/pixfmt.h"
> +
> typedef struct {
> const uint8_t *data;
> unsigned mb_x;
Will apply this patchset tomorrow unless there are objections.
- Andreas
More information about the ffmpeg-devel
mailing list