Only lavfutils.c needs avformat.h, not lavfutils.h.
Showing the changes to libavfilter (2 of 2 files). Show all
Unified · Split
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "libavutil/imgutils.h" |
| 22 | +#include "libavformat/avformat.h" | |
| 22 | 23 | #include "lavfutils.h" |
| 23 | 24 | |
| 24 | 25 | int ff_load_image(uint8_t *data[4], int linesize[4], |
| @@ -24,7 +24,8 @@ · 23 unmodified lines | ||
| 24 | 24 | #ifndef AVFILTER_LAVFUTILS_H |
| 25 | 25 | #define AVFILTER_LAVFUTILS_H |
| 26 | 26 | |
| 27 | −#include "libavformat/avformat.h" | |
| 27 | +#include <stdint.h> | |
| 28 | +#include "libavutil/pixfmt.h" | |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * Load image from filename and put the resulting image in data. |