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 |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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 --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;
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(+)