Browse Source

avdevice: Add missing header for NULL_IF_CONFIG_SMALL

Also reshuffle headers into canonical order where appropriate.
tags/n2.7
Diego Biurrun 10 years ago
parent
commit
c201069fac
10 changed files with 40 additions and 19 deletions
  1. +4
    -1
      libavdevice/alsa-audio-dec.c
  2. +3
    -0
      libavdevice/alsa-audio-enc.c
  3. +1
    -0
      libavdevice/jack_audio.c
  4. +10
    -7
      libavdevice/libdc1394.c
  5. +4
    -2
      libavdevice/pulse.c
  6. +4
    -2
      libavdevice/sndio_dec.c
  7. +2
    -0
      libavdevice/sndio_enc.c
  8. +7
    -4
      libavdevice/vfwcap.c
  9. +1
    -0
      libavdevice/x11grab.c
  10. +4
    -3
      libavdevice/xcbgrab.c

+ 4
- 1
libavdevice/alsa-audio-dec.c View File

@@ -46,9 +46,12 @@
*/ */


#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>

#include "libavutil/internal.h"
#include "libavutil/opt.h"

#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "libavformat/internal.h" #include "libavformat/internal.h"
#include "libavutil/opt.h"


#include "alsa-audio.h" #include "alsa-audio.h"




+ 3
- 0
libavdevice/alsa-audio-enc.c View File

@@ -38,6 +38,9 @@
*/ */


#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>

#include "libavutil/internal.h"

#include "libavformat/avformat.h" #include "libavformat/avformat.h"


#include "alsa-audio.h" #include "alsa-audio.h"


+ 1
- 0
libavdevice/jack_audio.c View File

@@ -24,6 +24,7 @@
#include <semaphore.h> #include <semaphore.h>
#include <jack/jack.h> #include <jack/jack.h>


#include "libavutil/internal.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/fifo.h" #include "libavutil/fifo.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"


+ 10
- 7
libavdevice/libdc1394.c View File

@@ -21,13 +21,6 @@
*/ */


#include "config.h" #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 #if HAVE_LIBDC1394_2
#include <dc1394/dc1394.h> #include <dc1394/dc1394.h>
@@ -35,6 +28,16 @@
#include <libraw1394/raw1394.h> #include <libraw1394/raw1394.h>
#include <libdc1394/dc1394_control.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_320x240_YUV422 MODE_320x240_YUV422
#define DC1394_VIDEO_MODE_640x480_YUV411 MODE_640x480_YUV411 #define DC1394_VIDEO_MODE_640x480_YUV411 MODE_640x480_YUV411
#define DC1394_VIDEO_MODE_640x480_YUV422 MODE_640x480_YUV422 #define DC1394_VIDEO_MODE_640x480_YUV422 MODE_640x480_YUV422


+ 4
- 2
libavdevice/pulse.c View File

@@ -29,10 +29,12 @@
#include <pulse/rtclock.h> #include <pulse/rtclock.h>
#include <pulse/error.h> #include <pulse/error.h>


#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"

#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "libavformat/internal.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) #define DEFAULT_CODEC_ID AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE)




+ 4
- 2
libavdevice/sndio_dec.c View File

@@ -22,11 +22,13 @@
#include <stdint.h> #include <stdint.h>
#include <sndio.h> #include <sndio.h>


#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/time.h" #include "libavutil/time.h"


#include "libavformat/avformat.h"
#include "libavformat/internal.h"

#include "sndio_common.h" #include "sndio_common.h"


static av_cold int audio_read_header(AVFormatContext *s1) static av_cold int audio_read_header(AVFormatContext *s1)


+ 2
- 0
libavdevice/sndio_enc.c View File

@@ -22,6 +22,8 @@
#include <stdint.h> #include <stdint.h>
#include <sndio.h> #include <sndio.h>


#include "libavutil/internal.h"

#include "libavformat/avformat.h" #include "libavformat/avformat.h"


#include "sndio_common.h" #include "sndio_common.h"


+ 7
- 4
libavdevice/vfwcap.c View File

@@ -19,13 +19,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * 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/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.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. */ /* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
#ifndef HWND_MESSAGE #ifndef HWND_MESSAGE


+ 1
- 0
libavdevice/x11grab.c View File

@@ -51,6 +51,7 @@
#include <X11/extensions/Xfixes.h> #include <X11/extensions/Xfixes.h>
#include <X11/extensions/XShm.h> #include <X11/extensions/XShm.h>


#include "libavutil/internal.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"


+ 4
- 3
libavdevice/xcbgrab.c View File

@@ -33,14 +33,15 @@
#include <xcb/shm.h> #include <xcb/shm.h>
#endif #endif


#include "libavformat/avformat.h"
#include "libavformat/internal.h"

#include "libavutil/internal.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/time.h" #include "libavutil/time.h"


#include "libavformat/avformat.h"
#include "libavformat/internal.h"

typedef struct XCBGrabContext { typedef struct XCBGrabContext {
const AVClass *class; const AVClass *class;




Loading…
Cancel
Save