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

Showing the changes to libavfilter (2 of 2 files). Show all

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
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
24int ff_load_image(uint8_t *data[4], int linesize[4],25int ff_load_image(uint8_t *data[4], int linesize[4],
libavfilter/lavfutils.h+2−1
@@ -24,7 +24,8 @@ · 23 unmodified lines
24#ifndef AVFILTER_LAVFUTILS_H24#ifndef AVFILTER_LAVFUTILS_H
25#define AVFILTER_LAVFUTILS_H25#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.

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