Only lavfutils.c needs avformat.h, not lavfutils.h.
Unified · Split
| @@ -19,6 +19,7 @@ · 18 unmodified lines | |||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include "libavutil/imgutils.h" | 21 | #include "libavutil/imgutils.h" |
| 22 | #include "libavformat/avformat.h" | ||
| 22 | #include "lavfutils.h" | 23 | #include "lavfutils.h" |
| 23 | 24 | ||
| 24 | int ff_load_image(uint8_t *data[4], int linesize[4], | 25 | int ff_load_image(uint8_t *data[4], int linesize[4], |
| @@ -24,7 +24,8 @@ · 23 unmodified lines | |||
| 24 | #ifndef AVFILTER_LAVFUTILS_H | 24 | #ifndef AVFILTER_LAVFUTILS_H |
| 25 | #define AVFILTER_LAVFUTILS_H | 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 | * Load image from filename and put the resulting image in data. | 31 | * Load image from filename and put the resulting image in data. |