Only lavfutils.c needs avformat.h, not lavfutils.h.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
*/
#include "libavutil/imgutils.h"
+#include "libavformat/avformat.h"
#include "lavfutils.h"
int ff_load_image(uint8_t *data[4], int linesize[4],
#ifndef AVFILTER_LAVFUTILS_H
#define AVFILTER_LAVFUTILS_H
-#include "libavformat/avformat.h"
+#include <stdint.h>
+#include "libavutil/pixfmt.h"
/**
* Load image from filename and put the resulting image in data.