Skip to content

Commit 2869d71

Browse files
committed
avfilter/lavfutils.h: Don't include avformat.h
Only lavfutils.c needs avformat.h, not lavfutils.h. Reviewed-by: James Almer <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
1 parent e452427 commit 2869d71

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libavfilter/lavfutils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
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.

0 commit comments

Comments
 (0)