Browse Source

lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h

tags/n0.8
Stefano Sabatini 14 years ago
parent
commit
6b899e16de
20 changed files with 19 additions and 21 deletions
  1. +0
    -1
      libavdevice/alldevices.c
  2. +1
    -1
      libavdevice/alsa-audio-common.c
  3. +1
    -1
      libavdevice/alsa-audio-dec.c
  4. +1
    -1
      libavdevice/alsa-audio-enc.c
  5. +1
    -1
      libavdevice/alsa-audio.h
  6. +1
    -1
      libavdevice/bktr.c
  7. +1
    -1
      libavdevice/dshow.c
  8. +1
    -1
      libavdevice/dshow.h
  9. +1
    -1
      libavdevice/dv1394.c
  10. +1
    -1
      libavdevice/fbdev.c
  11. +1
    -1
      libavdevice/jack_audio.c
  12. +1
    -1
      libavdevice/libdc1394.c
  13. +1
    -1
      libavdevice/oss_audio.c
  14. +1
    -1
      libavdevice/sndio_common.c
  15. +1
    -1
      libavdevice/sndio_common.h
  16. +1
    -2
      libavdevice/sndio_enc.c
  17. +1
    -1
      libavdevice/v4l.c
  18. +1
    -1
      libavdevice/v4l2.c
  19. +1
    -1
      libavdevice/vfwcap.c
  20. +1
    -1
      libavdevice/x11grab.c

+ 0
- 1
libavdevice/alldevices.c View File

@@ -19,7 +19,6 @@
*/

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

#define REGISTER_OUTDEV(X,x) { \


+ 1
- 1
libavdevice/alsa-audio-common.c View File

@@ -29,7 +29,7 @@
*/

#include <alsa/asoundlib.h>
#include "libavformat/avformat.h"
#include "avdevice.h"

#include "alsa-audio.h"



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

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

#include <alsa/asoundlib.h>
#include "libavformat/avformat.h"
#include "libavutil/opt.h"

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

static av_cold int audio_read_header(AVFormatContext *s1,


+ 1
- 1
libavdevice/alsa-audio-enc.c View File

@@ -38,8 +38,8 @@
*/

#include <alsa/asoundlib.h>
#include "libavformat/avformat.h"

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

static av_cold int audio_write_header(AVFormatContext *s1)


+ 1
- 1
libavdevice/alsa-audio.h View File

@@ -32,8 +32,8 @@

#include <alsa/asoundlib.h>
#include "config.h"
#include "libavformat/avformat.h"
#include "libavutil/log.h"
#include "avdevice.h"

/* XXX: we make the assumption that the soundcard accepts this format */
/* XXX: find better solution with "preinit" method, needed also in


+ 1
- 1
libavdevice/bktr.c View File

@@ -24,7 +24,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavformat/avformat.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H
@@ -47,6 +46,7 @@
#include <signal.h>
#include <stdint.h>
#include <strings.h>
#include "avdevice.h"

typedef struct {
AVClass *class;


+ 1
- 1
libavdevice/dshow.c View File

@@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

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

#include "avdevice.h"
#include "dshow.h"

struct dshow_ctx {


+ 1
- 1
libavdevice/dshow.h View File

@@ -21,7 +21,7 @@

#define DSHOWDEBUG 0

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

#define COBJMACROS
#include <windows.h>


+ 1
- 1
libavdevice/dv1394.c View File

@@ -32,7 +32,7 @@

#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
#include "avdevice.h"

#undef DV1394_DEBUG



+ 1
- 1
libavdevice/fbdev.c View File

@@ -39,7 +39,7 @@

#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavformat/avformat.h"
#include "avdevice.h"

struct rgb_pixfmt_map_entry {
int bits_per_pixel;


+ 1
- 1
libavdevice/jack_audio.c View File

@@ -27,8 +27,8 @@
#include "libavutil/log.h"
#include "libavutil/fifo.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavformat/timefilter.h"
#include "avdevice.h"

/**
* Size of the internal FIFO buffers as a number of audio packets


+ 1
- 1
libavdevice/libdc1394.c View File

@@ -21,9 +21,9 @@
*/

#include "config.h"
#include "libavformat/avformat.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avdevice.h"

#if HAVE_LIBDC1394_2
#include <dc1394/dc1394.h>


+ 1
- 1
libavdevice/oss_audio.c View File

@@ -39,7 +39,7 @@
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "avdevice.h"

#define AUDIO_BLOCK_SIZE 4096



+ 1
- 1
libavdevice/sndio_common.c View File

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

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

#include "sndio_common.h"



+ 1
- 1
libavdevice/sndio_common.h View File

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

#include "libavformat/avformat.h"
#include "libavutil/log.h"
#include "avdevice.h"

typedef struct {
AVClass *class;


+ 1
- 2
libavdevice/sndio_enc.c View File

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

#include "libavformat/avformat.h"

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

static av_cold int audio_write_header(AVFormatContext *s1)


+ 1
- 1
libavdevice/v4l.c View File

@@ -29,7 +29,6 @@
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
#include "libavcodec/dsputil.h"
#include <unistd.h>
#include <fcntl.h>
@@ -40,6 +39,7 @@
#include <linux/videodev.h>
#include <time.h>
#include <strings.h>
#include "avdevice.h"

typedef struct {
AVClass *class;


+ 1
- 1
libavdevice/v4l2.c View File

@@ -29,7 +29,6 @@

#undef __STRICT_ANSI__ //workaround due to broken kernel headers
#include "config.h"
#include "libavformat/avformat.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
@@ -46,6 +45,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avdevice.h"

static const int desired_video_buffers = 256;



+ 1
- 1
libavdevice/vfwcap.c View File

@@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavformat/avformat.h"
#include <windows.h>
#include <vfw.h>
#include "avdevice.h"

//#define DEBUG_VFW



+ 1
- 1
libavdevice/x11grab.c View File

@@ -36,7 +36,6 @@
*/

#include "config.h"
#include "libavformat/avformat.h"
#include <time.h>
#include <X11/X.h>
#include <X11/Xlib.h>
@@ -46,6 +45,7 @@
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xfixes.h>
#include "avdevice.h"

/**
* X11 Device Demuxer context


Loading…
Cancel
Save