diff mbox series

[FFmpeg-devel,1/7] avcodec/proresdec: Include required headers directly

Message ID AS8P250MB074429EE169A8357C6FC520C8FEDA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 489d96ca020036b1f423556c0f5f19cad5461ca8
Headers show
Series [FFmpeg-devel,1/7] avcodec/proresdec: Include required headers directly | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 8, 2023, 2:02 p.m. UTC
Do not rely on an indirect inclusion of avcodec.h in proresdsp.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/proresdec.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Andreas Rheinhardt Sept. 10, 2023, 8:50 a.m. UTC | #1
Andreas Rheinhardt:
> Do not rely on an indirect inclusion of avcodec.h in proresdsp.h.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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;