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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Sep 8 17:02:51 EEST 2023


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;
-- 
2.34.1



More information about the ffmpeg-devel mailing list