diff options
author | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
commit | 1aee89f5ea603d24991c73e2479472577aa28d66 (patch) | |
tree | 5ac6038804aa63c3c9a22c613efd734fa5d688fd /src/decoder | |
parent | fb547260d1b992b64c0ffd78e3bc55db86f90bda (diff) |
*: include cleanup (using iwyu)
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/DecoderBuffer.cxx | 2 | ||||
-rw-r--r-- | src/decoder/DecoderControl.hxx | 2 | ||||
-rw-r--r-- | src/decoder/plugins/AudiofileDecoderPlugin.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/DsdLib.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/DsdLib.hxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/FaadDecoderPlugin.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/FfmpegDecoderPlugin.cxx | 2 | ||||
-rw-r--r-- | src/decoder/plugins/FlacMetadata.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/FlacMetadata.hxx | 2 | ||||
-rw-r--r-- | src/decoder/plugins/GmeDecoderPlugin.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/MadDecoderPlugin.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/OpusDecoderPlugin.cxx | 1 | ||||
-rw-r--r-- | src/decoder/plugins/VorbisComments.cxx | 4 |
13 files changed, 2 insertions, 18 deletions
diff --git a/src/decoder/DecoderBuffer.cxx b/src/decoder/DecoderBuffer.cxx index 03b5dc9ed..575e0c92a 100644 --- a/src/decoder/DecoderBuffer.cxx +++ b/src/decoder/DecoderBuffer.cxx @@ -21,8 +21,6 @@ #include "DecoderBuffer.hxx" #include "DecoderAPI.hxx" -#include <assert.h> - bool DecoderBuffer::Fill() { diff --git a/src/decoder/DecoderControl.hxx b/src/decoder/DecoderControl.hxx index 5e2605154..d1d385d43 100644 --- a/src/decoder/DecoderControl.hxx +++ b/src/decoder/DecoderControl.hxx @@ -29,6 +29,8 @@ #include "Chrono.hxx" #include "util/Error.hxx" +#include <utility> + #include <assert.h> #include <stdint.h> diff --git a/src/decoder/plugins/AudiofileDecoderPlugin.cxx b/src/decoder/plugins/AudiofileDecoderPlugin.cxx index 62a028a7c..f26d6f880 100644 --- a/src/decoder/plugins/AudiofileDecoderPlugin.cxx +++ b/src/decoder/plugins/AudiofileDecoderPlugin.cxx @@ -23,7 +23,6 @@ #include "input/InputStream.hxx" #include "CheckAudioFormat.hxx" #include "tag/TagHandler.hxx" -#include "fs/Path.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" #include "Log.hxx" diff --git a/src/decoder/plugins/DsdLib.cxx b/src/decoder/plugins/DsdLib.cxx index fc1c9a114..a5e9c8391 100644 --- a/src/decoder/plugins/DsdLib.cxx +++ b/src/decoder/plugins/DsdLib.cxx @@ -29,7 +29,6 @@ #include "input/InputStream.hxx" #include "tag/TagId3.hxx" #include "util/Error.hxx" -#include "util/Alloc.hxx" #include <string.h> #include <stdlib.h> diff --git a/src/decoder/plugins/DsdLib.hxx b/src/decoder/plugins/DsdLib.hxx index a60342e16..1b72ca7fd 100644 --- a/src/decoder/plugins/DsdLib.hxx +++ b/src/decoder/plugins/DsdLib.hxx @@ -24,7 +24,6 @@ #include "input/Offset.hxx" #include "Compiler.h" -#include <stddef.h> #include <stdint.h> struct Decoder; diff --git a/src/decoder/plugins/FaadDecoderPlugin.cxx b/src/decoder/plugins/FaadDecoderPlugin.cxx index 39096d79a..04bb000ee 100644 --- a/src/decoder/plugins/FaadDecoderPlugin.cxx +++ b/src/decoder/plugins/FaadDecoderPlugin.cxx @@ -33,7 +33,6 @@ #include <assert.h> #include <string.h> -#include <unistd.h> static const unsigned adts_sample_rates[] = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index ea9d8e9d3..6bb3c3c9d 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -40,7 +40,6 @@ #include "CheckAudioFormat.hxx" #include "util/ConstBuffer.hxx" #include "util/Error.hxx" -#include "util/Domain.hxx" #include "LogV.hxx" extern "C" { @@ -48,7 +47,6 @@ extern "C" { #include <libavformat/avformat.h> #include <libavformat/avio.h> #include <libavutil/avutil.h> -#include <libavutil/log.h> #if LIBAVUTIL_VERSION_MAJOR >= 53 #include <libavutil/frame.h> diff --git a/src/decoder/plugins/FlacMetadata.cxx b/src/decoder/plugins/FlacMetadata.cxx index f674bcb6b..77501ebc9 100644 --- a/src/decoder/plugins/FlacMetadata.cxx +++ b/src/decoder/plugins/FlacMetadata.cxx @@ -29,7 +29,6 @@ #include "tag/ReplayGain.hxx" #include "tag/MixRamp.hxx" #include "ReplayGainInfo.hxx" -#include "util/ASCII.hxx" #include "util/DivideString.hxx" bool diff --git a/src/decoder/plugins/FlacMetadata.hxx b/src/decoder/plugins/FlacMetadata.hxx index d4f7e3480..6249dc96c 100644 --- a/src/decoder/plugins/FlacMetadata.hxx +++ b/src/decoder/plugins/FlacMetadata.hxx @@ -25,8 +25,6 @@ #include <FLAC/metadata.h> -#include <assert.h> - struct TagHandler; class MixRampInfo; diff --git a/src/decoder/plugins/GmeDecoderPlugin.cxx b/src/decoder/plugins/GmeDecoderPlugin.cxx index bc533f9c9..97e406581 100644 --- a/src/decoder/plugins/GmeDecoderPlugin.cxx +++ b/src/decoder/plugins/GmeDecoderPlugin.cxx @@ -25,7 +25,6 @@ #include "tag/TagHandler.hxx" #include "fs/Path.hxx" #include "fs/AllocatedPath.hxx" -#include "util/Alloc.hxx" #include "util/FormatString.hxx" #include "util/UriUtil.hxx" #include "util/Error.hxx" diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx index dab851196..cbcd72d6e 100644 --- a/src/decoder/plugins/MadDecoderPlugin.cxx +++ b/src/decoder/plugins/MadDecoderPlugin.cxx @@ -29,7 +29,6 @@ #include "tag/MixRamp.hxx" #include "CheckAudioFormat.hxx" #include "util/StringCompare.hxx" -#include "util/ASCII.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" #include "Log.hxx" diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx index e1db490d7..7d91cf72e 100644 --- a/src/decoder/plugins/OpusDecoderPlugin.cxx +++ b/src/decoder/plugins/OpusDecoderPlugin.cxx @@ -36,7 +36,6 @@ #include <ogg/ogg.h> #include <string.h> -#include <stdio.h> static constexpr opus_int32 opus_sample_rate = 48000; diff --git a/src/decoder/plugins/VorbisComments.cxx b/src/decoder/plugins/VorbisComments.cxx index e4fabe5ad..4f0e84893 100644 --- a/src/decoder/plugins/VorbisComments.cxx +++ b/src/decoder/plugins/VorbisComments.cxx @@ -26,12 +26,8 @@ #include "tag/VorbisComment.hxx" #include "tag/ReplayGain.hxx" #include "ReplayGainInfo.hxx" -#include "util/ASCII.hxx" #include "util/DivideString.hxx" -#include <stddef.h> -#include <stdlib.h> - bool vorbis_comments_to_replay_gain(ReplayGainInfo &rgi, char **comments) { |