diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-14 18:03:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-22 15:29:46 +0200 |
commit | 25c8507818d8559a6654a5b30a0f8aae11a48181 (patch) | |
tree | 59f768e70e21d07f26a97724a2022c6d855cfcf1 /libavdevice | |
parent | e3023e901524d1f9f59167962ee47672e61c2bc9 (diff) | |
download | ffmpeg-25c8507818d8559a6654a5b30a0f8aae11a48181.tar.gz |
Remove/replace some unnecessary avcodec.h inclusions
Also remove other unnecessary headers and include headers directly while
at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/avdevice.c | 1 | ||||
-rw-r--r-- | libavdevice/oss.c | 1 | ||||
-rw-r--r-- | libavdevice/oss.h | 5 | ||||
-rw-r--r-- | libavdevice/oss_dec.c | 2 | ||||
-rw-r--r-- | libavdevice/oss_enc.c | 2 |
5 files changed, 3 insertions, 8 deletions
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index 22b7595ab1..2ae26ab8e3 100644 --- a/libavdevice/avdevice.c +++ b/libavdevice/avdevice.c @@ -19,7 +19,6 @@ #include "libavutil/avassert.h" #include "libavutil/samplefmt.h" #include "libavutil/pixfmt.h" -#include "libavcodec/avcodec.h" #include "avdevice.h" #include "internal.h" #include "config.h" diff --git a/libavdevice/oss.c b/libavdevice/oss.c index d92cde3313..eddc2ddf1a 100644 --- a/libavdevice/oss.c +++ b/libavdevice/oss.c @@ -32,7 +32,6 @@ #include "libavutil/log.h" -#include "libavcodec/avcodec.h" #include "avdevice.h" #include "oss.h" diff --git a/libavdevice/oss.h b/libavdevice/oss.h index 1f3f5e4e83..66d1a34cf6 100644 --- a/libavdevice/oss.h +++ b/libavdevice/oss.h @@ -19,8 +19,9 @@ #ifndef AVDEVICE_OSS_H #define AVDEVICE_OSS_H -#include "libavcodec/avcodec.h" - +#include <stdint.h> +#include "libavutil/log.h" +#include "libavcodec/codec_id.h" #include "libavformat/avformat.h" #define OSS_AUDIO_BLOCK_SIZE 4096 diff --git a/libavdevice/oss_dec.c b/libavdevice/oss_dec.c index 34efb6b184..4f3772c1f5 100644 --- a/libavdevice/oss_dec.c +++ b/libavdevice/oss_dec.c @@ -34,8 +34,6 @@ #include "libavutil/opt.h" #include "libavutil/time.h" -#include "libavcodec/avcodec.h" - #include "avdevice.h" #include "libavformat/internal.h" diff --git a/libavdevice/oss_enc.c b/libavdevice/oss_enc.c index 6c1bc042c1..3103d2de9a 100644 --- a/libavdevice/oss_enc.c +++ b/libavdevice/oss_enc.c @@ -30,8 +30,6 @@ #include "libavutil/internal.h" -#include "libavcodec/avcodec.h" - #include "avdevice.h" #include "libavformat/internal.h" |