History

avfilter/lavfutils.h: Don't include avformat.h

Only lavfutils.c needs avformat.h, not lavfutils.h.

Andreas Rheinhardt committed 5 years ago

Commit 2869d711 parent e4524272 files · +3 −1Browse files

Unified · Split

2 files
  1. libavfilter/lavfutils.c +1 −0
  2. libavfilter/lavfutils.h +2 −1
libavfilter/lavfutils.c+1−0
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919 */
2020
2121 #include "libavutil/imgutils.h"
22+#include "libavformat/avformat.h"
2223 #include "lavfutils.h"
2324
2425 int ff_load_image(uint8_t *data[4], int linesize[4],
libavfilter/lavfutils.h+2−1
@@ -24,7 +24,8 @@ · 23 unmodified lines
2424 #ifndef AVFILTER_LAVFUTILS_H
2525 #define AVFILTER_LAVFUTILS_H
2626
27−#include "libavformat/avformat.h"
27+#include <stdint.h>
28+#include "libavutil/pixfmt.h"
2829
2930 /**
3031 * Load image from filename and put the resulting image in data.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t