aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-03-21 20:06:18 +0100
committerDiego Biurrun <diego@biurrun.de>2016-03-24 19:17:23 +0100
commit439929859ae0eb9542d3bb8a0c856bd5a1d1ec48 (patch)
tree2d95432d406d86051c4f9af055340ac97f68e7ac
parent3dfbf32b95ae69a9b15cd4912bc1c68fa16b4093 (diff)
downloadffmpeg-439929859ae0eb9542d3bb8a0c856bd5a1d1ec48.tar.gz
testprogs: Clean up #includes
-rw-r--r--libavdevice/timefilter.c2
-rw-r--r--libavformat/rtmpdh.c10
-rw-r--r--libavformat/rtmpdh.h3
-rw-r--r--libavutil/des.c4
-rw-r--r--libavutil/lls.c1
5 files changed, 15 insertions, 5 deletions
diff --git a/libavdevice/timefilter.c b/libavdevice/timefilter.c
index a49735158c..ee25d7a4ac 100644
--- a/libavdevice/timefilter.c
+++ b/libavdevice/timefilter.c
@@ -24,7 +24,7 @@
#include "libavutil/common.h"
#include "libavutil/mem.h"
-#include "config.h"
+
#include "timefilter.h"
struct TimeFilter {
diff --git a/libavformat/rtmpdh.c b/libavformat/rtmpdh.c
index df06bece2f..f56a78495c 100644
--- a/libavformat/rtmpdh.c
+++ b/libavformat/rtmpdh.c
@@ -26,10 +26,18 @@
* RTMP Diffie-Hellmann utilities
*/
+#include <stdint.h>
+#include <string.h>
+
#include "config.h"
-#include "rtmpdh.h"
+
+#include "libavutil/attributes.h"
+#include "libavutil/error.h"
+#include "libavutil/mem.h"
#include "libavutil/random_seed.h"
+#include "rtmpdh.h"
+
#define P1024 \
"FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1" \
"29024E088A67CC74020BBEA63B139B22514A08798E3404DD" \
diff --git a/libavformat/rtmpdh.h b/libavformat/rtmpdh.h
index 21ad13ea16..eb742dd937 100644
--- a/libavformat/rtmpdh.h
+++ b/libavformat/rtmpdh.h
@@ -22,7 +22,8 @@
#ifndef AVFORMAT_RTMPDH_H
#define AVFORMAT_RTMPDH_H
-#include "avformat.h"
+#include <stdint.h>
+
#include "config.h"
#if CONFIG_GMP || CONFIG_GCRYPT
diff --git a/libavutil/des.c b/libavutil/des.c
index 2b77af654f..2b16b04f3d 100644
--- a/libavutil/des.c
+++ b/libavutil/des.c
@@ -18,7 +18,9 @@
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <inttypes.h>
+
+#include <stdint.h>
+
#include "avutil.h"
#include "common.h"
#include "intreadwrite.h"
diff --git a/libavutil/lls.c b/libavutil/lls.c
index 60d2b646ba..e512c7ee9e 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -29,7 +29,6 @@
#include <string.h>
#include "attributes.h"
-#include "config.h"
#include "internal.h"
#include "version.h"
#include "lls.h"