summaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-09 21:03:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-09 21:07:24 +0200
commitfe25194c5870f21ba10f615f036b64d0c84fca48 (patch)
treeec4aa330575d647588e90d2201cc54d5d1b1c174 /libavdevice
parent71288bf80f37bdc0795396930d8b97c781c94587 (diff)
parentc201069fac9a76e6604f9d84d76a172434d62200 (diff)
downloadffmpeg-streaming-fe25194c5870f21ba10f615f036b64d0c84fca48.zip
ffmpeg-streaming-fe25194c5870f21ba10f615f036b64d0c84fca48.tar.gz
Merge commit 'c201069fac9a76e6604f9d84d76a172434d62200'
* commit 'c201069fac9a76e6604f9d84d76a172434d62200': avdevice: Add missing header for NULL_IF_CONFIG_SMALL Conflicts: libavdevice/alsa-audio-dec.c libavdevice/alsa-audio-enc.c libavdevice/pulse_audio_dec.c libavdevice/sndio_enc.c libavdevice/vfwcap.c libavdevice/x11grab.c libavdevice/xcbgrab.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/alsa-audio-dec.c7
-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_audio_dec.c7
-rw-r--r--libavdevice/sndio_dec.c6
-rw-r--r--libavdevice/sndio_enc.c3
-rw-r--r--libavdevice/vfwcap.c10
-rw-r--r--libavdevice/x11grab.c5
-rw-r--r--libavdevice/xcbgrab.c7
10 files changed, 45 insertions, 21 deletions
diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c
index efa6747..3e8e70b 100644
--- a/libavdevice/alsa-audio-dec.c
+++ b/libavdevice/alsa-audio-dec.c
@@ -46,11 +46,14 @@
*/
#include <alsa/asoundlib.h>
-#include "libavformat/internal.h"
-#include "libavutil/opt.h"
+
+#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
+#include "libavutil/opt.h"
#include "libavutil/time.h"
+#include "libavformat/internal.h"
+
#include "avdevice.h"
#include "alsa-audio.h"
diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c
index 43d097d..acf8af3 100644
--- a/libavdevice/alsa-audio-enc.c
+++ b/libavdevice/alsa-audio-enc.c
@@ -39,7 +39,10 @@
#include <alsa/asoundlib.h>
+#include "libavutil/internal.h"
#include "libavutil/time.h"
+
+
#include "libavformat/internal.h"
#include "avdevice.h"
#include "alsa-audio.h"
diff --git a/libavdevice/jack_audio.c b/libavdevice/jack_audio.c
index 0c52a8e..053dba7 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 77024b3..5f49c5e 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>
@@ -48,6 +41,16 @@
#define DC1394_FRAMERATE_240 FRAMERATE_240
#endif
+#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"
+
typedef struct dc1394_data {
AVClass *class;
#if HAVE_LIBDC1394_1
diff --git a/libavdevice/pulse_audio_dec.c b/libavdevice/pulse_audio_dec.c
index 3cd0087..aa0800b 100644
--- a/libavdevice/pulse_audio_dec.c
+++ b/libavdevice/pulse_audio_dec.c
@@ -23,10 +23,13 @@
#include <pulse/rtclock.h>
#include <pulse/error.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 "pulse_audio_common.h"
#include "timefilter.h"
diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
index 37c6983..9cc9952 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 205cf24..2a24620 100644
--- a/libavdevice/sndio_enc.c
+++ b/libavdevice/sndio_enc.c
@@ -22,6 +22,9 @@
#include <stdint.h>
#include <sndio.h>
+#include "libavutil/internal.h"
+
+
#include "avdevice.h"
#include "sndio_common.h"
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 00fb48b..7929ac8 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -19,12 +19,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#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/internal.h"
+
#include "avdevice.h"
/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index be883da..d3b0b02 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -52,8 +52,7 @@
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/XShm.h>
-#include "avdevice.h"
-
+#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
@@ -61,6 +60,8 @@
#include "libavformat/internal.h"
+#include "avdevice.h"
+
/** X11 device demuxer context */
typedef struct X11GrabContext {
const AVClass *class; /**< Class for private options. */
diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c
index 17d8f9a..777bd25 100644
--- a/libavdevice/xcbgrab.c
+++ b/libavdevice/xcbgrab.c
@@ -37,14 +37,15 @@
#include <xcb/shape.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;
OpenPOWER on IntegriCloud