aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-11-03 17:20:49 +0100
committerDiego Biurrun <diego@biurrun.de>2018-02-06 10:03:15 +0100
commit4cf84e254ae75b524e1cacae499a97d7cc9e5906 (patch)
tree7279020311353786e92dbfe27f4ecf78467e9973
parentbca41545b371efc34e38d1fa8bb12dba8b614da0 (diff)
downloadffmpeg-4cf84e254ae75b524e1cacae499a97d7cc9e5906.tar.gz
Drop some unnecessary config.h #includes
-rw-r--r--libavcodec/thread.h1
-rw-r--r--libavformat/tls.h4
-rw-r--r--libavutil/aarch64/cpu.h1
-rw-r--r--libavutil/arm/cpu.h1
-rw-r--r--libavutil/cpu_internal.h2
-rw-r--r--libavutil/ppc/cpu.h1
-rw-r--r--libavutil/x86/cpu.h1
7 files changed, 4 insertions, 7 deletions
diff --git a/libavcodec/thread.h b/libavcodec/thread.h
index 864e67eb98..b06958de80 100644
--- a/libavcodec/thread.h
+++ b/libavcodec/thread.h
@@ -29,7 +29,6 @@
#include "libavutil/buffer.h"
-#include "config.h"
#include "avcodec.h"
typedef struct ThreadFrame {
diff --git a/libavformat/tls.h b/libavformat/tls.h
index 94f30ab854..846aa8333e 100644
--- a/libavformat/tls.h
+++ b/libavformat/tls.h
@@ -22,10 +22,10 @@
#ifndef AVFORMAT_TLS_H
#define AVFORMAT_TLS_H
-#include "config.h"
-#include "url.h"
#include "libavutil/opt.h"
+#include "url.h"
+
typedef struct TLSShared {
char *ca_file;
int verify;
diff --git a/libavutil/aarch64/cpu.h b/libavutil/aarch64/cpu.h
index f5b1d89132..0f2531b0dc 100644
--- a/libavutil/aarch64/cpu.h
+++ b/libavutil/aarch64/cpu.h
@@ -19,7 +19,6 @@
#ifndef AVUTIL_AARCH64_CPU_H
#define AVUTIL_AARCH64_CPU_H
-#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
diff --git a/libavutil/arm/cpu.h b/libavutil/arm/cpu.h
index 127993e5dd..99986d908b 100644
--- a/libavutil/arm/cpu.h
+++ b/libavutil/arm/cpu.h
@@ -19,7 +19,6 @@
#ifndef AVUTIL_ARM_CPU_H
#define AVUTIL_ARM_CPU_H
-#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
diff --git a/libavutil/cpu_internal.h b/libavutil/cpu_internal.h
index 18c744a983..4c5e1308aa 100644
--- a/libavutil/cpu_internal.h
+++ b/libavutil/cpu_internal.h
@@ -19,6 +19,8 @@
#ifndef AVUTIL_CPU_INTERNAL_H
#define AVUTIL_CPU_INTERNAL_H
+#include "config.h"
+
#include "cpu.h"
#define CPUEXT_SUFFIX(flags, suffix, cpuext) \
diff --git a/libavutil/ppc/cpu.h b/libavutil/ppc/cpu.h
index a8b823f534..bed687125e 100644
--- a/libavutil/ppc/cpu.h
+++ b/libavutil/ppc/cpu.h
@@ -19,7 +19,6 @@
#ifndef AVUTIL_PPC_CPU_H
#define AVUTIL_PPC_CPU_H
-#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
diff --git a/libavutil/x86/cpu.h b/libavutil/x86/cpu.h
index c0a525dd4e..6373e57db2 100644
--- a/libavutil/x86/cpu.h
+++ b/libavutil/x86/cpu.h
@@ -19,7 +19,6 @@
#ifndef AVUTIL_X86_CPU_H
#define AVUTIL_X86_CPU_H
-#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"