Removed duplicated includes from ffmpeg wrappers
This commit is contained in:
parent
958d5a0caa
commit
4ec2ad91b9
@ -55,7 +55,6 @@ extern "C" {
|
||||
|
||||
#ifdef WIN32
|
||||
#define HAVE_FFMPEG_SWSCALE 1
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#else
|
||||
@ -65,13 +64,11 @@ extern "C" {
|
||||
|
||||
#if defined(HAVE_GENTOO_FFMPEG)
|
||||
#define HAVE_LIBAVCODEC_AVCODEC_H 1
|
||||
#define HAVE_LIBAVFORMAT_AVFORMAT_H 1
|
||||
#if defined(HAVE_FFMPEG_SWSCALE)
|
||||
#define HAVE_LIBSWSCALE_SWSCALE_H 1
|
||||
#endif
|
||||
#elif defined HAVE_FFMPEG
|
||||
#define HAVE_FFMPEG_AVCODEC_H 1
|
||||
#define HAVE_FFMPEG_AVFORMAT_H 1
|
||||
#if defined(HAVE_FFMPEG_SWSCALE)
|
||||
#define HAVE_FFMPEG_SWSCALE_H 1
|
||||
#endif
|
||||
@ -82,16 +79,10 @@ extern "C" {
|
||||
#if defined(HAVE_FFMPEG_AVCODEC_H)
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#endif
|
||||
#if defined(HAVE_FFMPEG_AVFORMAT_H)
|
||||
#include <ffmpeg/avformat.h>
|
||||
#endif
|
||||
#if defined(HAVE_FFMPEG_SWSCALE_H)
|
||||
#include <ffmpeg/swscale.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
|
||||
#include <libavformat/avformat.h>
|
||||
#endif
|
||||
#if defined(HAVE_LIBAVCODEC_AVCODEC_H)
|
||||
#include <libavcodec/avcodec.h>
|
||||
#endif
|
||||
|
@ -56,7 +56,6 @@ extern "C" {
|
||||
|
||||
#ifdef WIN32
|
||||
#define HAVE_FFMPEG_SWSCALE 1
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#else
|
||||
@ -66,13 +65,11 @@ extern "C" {
|
||||
|
||||
#if defined(HAVE_GENTOO_FFMPEG)
|
||||
#define HAVE_LIBAVCODEC_AVCODEC_H 1
|
||||
#define HAVE_LIBAVFORMAT_AVFORMAT_H 1
|
||||
#if defined(HAVE_FFMPEG_SWSCALE)
|
||||
#define HAVE_LIBSWSCALE_SWSCALE_H 1
|
||||
#endif
|
||||
#elif defined HAVE_FFMPEG
|
||||
#define HAVE_FFMPEG_AVCODEC_H 1
|
||||
#define HAVE_FFMPEG_AVFORMAT_H 1
|
||||
#if defined(HAVE_FFMPEG_SWSCALE)
|
||||
#define HAVE_FFMPEG_SWSCALE_H 1
|
||||
#endif
|
||||
@ -83,16 +80,10 @@ extern "C" {
|
||||
#if defined(HAVE_FFMPEG_AVCODEC_H)
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#endif
|
||||
#if defined(HAVE_FFMPEG_AVFORMAT_H)
|
||||
#include <ffmpeg/avformat.h>
|
||||
#endif
|
||||
#if defined(HAVE_FFMPEG_SWSCALE_H)
|
||||
#include <ffmpeg/swscale.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
|
||||
#include <libavformat/avformat.h>
|
||||
#endif
|
||||
#if defined(HAVE_LIBAVCODEC_AVCODEC_H)
|
||||
#include <libavcodec/avcodec.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user