aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-04-08 17:27:42 +0200
committerDiego Biurrun <diego@biurrun.de>2015-04-09 16:40:12 +0200
commitc201069fac9a76e6604f9d84d76a172434d62200 (patch)
treea01d35dac44bbe040ab0f12639e90ae0af7024d4
parent27852f2f1dec3749ea79883b70484c841169f747 (diff)
downloadffmpeg-c201069fac9a76e6604f9d84d76a172434d62200.tar.gz
avdevice: Add missing header for NULL_IF_CONFIG_SMALL
Also reshuffle headers into canonical order where appropriate.
-rw-r--r--libavdevice/alsa-audio-dec.c5
-rw-r--r--libavdevice/alsa-audio-enc.c3
-rw-r--r--libavdevice/jack_audio.c1
-rw-r--r--libavdevice/libdc1394.c17
-rw-r--r--libavdevice/pulse.c6
-rw-r--r--libavdevice/sndio_dec.c6
-rw-r--r--libavdevice/sndio_enc.c2
-rw-r--r--libavdevice/vfwcap.c11
-rw-r--r--libavdevice/x11grab.c1
-rw-r--r--libavdevice/xcbgrab.c7
10 files changed, 40 insertions, 19 deletions
diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c
index 0687a4ad3d..a6a814b80f 100644
--- a/libavdevice/alsa-audio-dec.c
+++ b/libavdevice/alsa-audio-dec.c
@@ -46,9 +46,12 @@
*/
#include <alsa/asoundlib.h>
+
+#include "libavutil/internal.h"
+#include "libavutil/opt.h"
+
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
-#include "libavutil/opt.h"
#include "alsa-audio.h"
diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c
index bb4575fa02..db4f5e426f 100644
--- a/libavdevice/alsa-audio-enc.c
+++ b/libavdevice/alsa-audio-enc.c
@@ -38,6 +38,9 @@
*/
#include <alsa/asoundlib.h>
+
+#include "libavutil/internal.h"
+
#include "libavformat/avformat.h"
#include "alsa-audio.h"
diff --git a/libavdevice/jack_audio.c b/libavdevice/jack_audio.c
index 7bdc22925d..fc5caa8830 100644
--- a/libavdevice/jack_audio.c
+++ b/libavdevice/jack_audio.c
@@ -24,6 +24,7 @@
#include <semaphore.h>
#include <jack/jack.h>
+#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index cc348d4e84..3fa5d1fbad 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -21,13 +21,6 @@
*/
#include "config.h"
-#include "libavformat/avformat.h"
-#include "libavformat/internal.h"
-#include "libavutil/log.h"
-#include "libavutil/mathematics.h"
-#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
-#include "libavutil/pixdesc.h"
#if HAVE_LIBDC1394_2
#include <dc1394/dc1394.h>
@@ -35,6 +28,16 @@
#include <libraw1394/raw1394.h>
#include <libdc1394/dc1394_control.h>
+#include "libavutil/internal.h"
+#include "libavutil/log.h"
+#include "libavutil/mathematics.h"
+#include "libavutil/opt.h"
+#include "libavutil/parseutils.h"
+#include "libavutil/pixdesc.h"
+
+#include "libavformat/avformat.h"
+#include "libavformat/internal.h"
+
#define DC1394_VIDEO_MODE_320x240_YUV422 MODE_320x240_YUV422
#define DC1394_VIDEO_MODE_640x480_YUV411 MODE_640x480_YUV411
#define DC1394_VIDEO_MODE_640x480_YUV422 MODE_640x480_YUV422
diff --git a/libavdevice/pulse.c b/libavdevice/pulse.c
index 2136ee3fa4..aaff4478d4 100644
--- a/libavdevice/pulse.c
+++ b/libavdevice/pulse.c
@@ -29,10 +29,12 @@
#include <pulse/rtclock.h>
#include <pulse/error.h>
+#include "libavutil/internal.h"
+#include "libavutil/opt.h"
+#include "libavutil/time.h"
+
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
-#include "libavutil/time.h"
-#include "libavutil/opt.h"
#define DEFAULT_CODEC_ID AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE)
diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
index 58caaa1f44..24c6d1e7da 100644
--- a/libavdevice/sndio_dec.c
+++ b/libavdevice/sndio_dec.c
@@ -22,11 +22,13 @@
#include <stdint.h>
#include <sndio.h>
-#include "libavformat/avformat.h"
-#include "libavformat/internal.h"
+#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
+#include "libavformat/avformat.h"
+#include "libavformat/internal.h"
+
#include "sndio_common.h"
static av_cold int audio_read_header(AVFormatContext *s1)
diff --git a/libavdevice/sndio_enc.c b/libavdevice/sndio_enc.c
index 6f69b9e501..61ac398a84 100644
--- a/libavdevice/sndio_enc.c
+++ b/libavdevice/sndio_enc.c
@@ -22,6 +22,8 @@
#include <stdint.h>
#include <sndio.h>
+#include "libavutil/internal.h"
+
#include "libavformat/avformat.h"
#include "sndio_common.h"
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index b47de1b282..4182642ce9 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -19,13 +19,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavformat/avformat.h"
-#include "libavformat/internal.h"
+#include <vfw.h>
+#include <windows.h>
+
+#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
-#include <windows.h>
-#include <vfw.h>
+
+#include "libavformat/avformat.h"
+#include "libavformat/internal.h"
/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
#ifndef HWND_MESSAGE
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index bf72241212..b2721ae8c6 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -51,6 +51,7 @@
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/XShm.h>
+#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c
index 2435c9c1d0..13284ec9d4 100644
--- a/libavdevice/xcbgrab.c
+++ b/libavdevice/xcbgrab.c
@@ -33,14 +33,15 @@
#include <xcb/shm.h>
#endif
-#include "libavformat/avformat.h"
-#include "libavformat/internal.h"
-
+#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/time.h"
+#include "libavformat/avformat.h"
+#include "libavformat/internal.h"
+
typedef struct XCBGrabContext {
const AVClass *class;