Browse Source

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

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

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
2869d71493
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      libavfilter/lavfutils.c
  2. +2
    -1
      libavfilter/lavfutils.h

+ 1
- 0
libavfilter/lavfutils.c View File

@@ -19,6 +19,7 @@
*/

#include "libavutil/imgutils.h"
#include "libavformat/avformat.h"
#include "lavfutils.h"

int ff_load_image(uint8_t *data[4], int linesize[4],


+ 2
- 1
libavfilter/lavfutils.h View File

@@ -24,7 +24,8 @@
#ifndef AVFILTER_LAVFUTILS_H
#define AVFILTER_LAVFUTILS_H

#include "libavformat/avformat.h"
#include <stdint.h>
#include "libavutil/pixfmt.h"

/**
* Load image from filename and put the resulting image in data.


Loading…
Cancel
Save