aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aacdectab.h2
-rw-r--r--libavcodec/ac3_parser.c2
-rw-r--r--libavcodec/ac3enc.c3
-rw-r--r--libavcodec/ac3tab.c2
-rw-r--r--libavcodec/alac.c2
-rw-r--r--libavcodec/amrnbdec.c2
-rw-r--r--libavcodec/amrwbdec.c2
-rw-r--r--libavcodec/apedec.c6
-rw-r--r--libavcodec/audioconvert.h2
-rw-r--r--libavcodec/bmv.c2
-rw-r--r--libavcodec/cook.c2
-rw-r--r--libavcodec/dcadec.c2
-rw-r--r--libavcodec/dsicinav.c2
-rw-r--r--libavcodec/flac.c2
-rw-r--r--libavcodec/flacdec.c2
-rw-r--r--libavcodec/g722dec.c4
-rw-r--r--libavcodec/g723_1.c2
-rw-r--r--libavcodec/g726.c2
-rw-r--r--libavcodec/gsmdec.c2
-rw-r--r--libavcodec/imc.c4
-rw-r--r--libavcodec/libfaac.c4
-rw-r--r--libavcodec/libfdk-aacenc.c6
-rw-r--r--libavcodec/libgsm.c4
-rw-r--r--libavcodec/libilbc.c4
-rw-r--r--libavcodec/libmp3lame.c2
-rw-r--r--libavcodec/libopencore-amr.c4
-rw-r--r--libavcodec/libspeexdec.c2
-rw-r--r--libavcodec/libspeexenc.c2
-rw-r--r--libavcodec/mlp_parser.c2
-rw-r--r--libavcodec/mpc7.c2
-rw-r--r--libavcodec/mpc8.c2
-rw-r--r--libavcodec/mpegaudiodec.c2
-rw-r--r--libavcodec/mpegaudioenc.c2
-rw-r--r--libavcodec/nellymoserdec.c4
-rw-r--r--libavcodec/pcm-mpeg.c2
-rw-r--r--libavcodec/qcelpdec.c2
-rw-r--r--libavcodec/qdm2.c2
-rw-r--r--libavcodec/ra144dec.c2
-rw-r--r--libavcodec/ra288.c2
-rw-r--r--libavcodec/ralf.c2
-rw-r--r--libavcodec/sipr.c2
-rw-r--r--libavcodec/smacker.c2
-rw-r--r--libavcodec/truespeech.c2
-rw-r--r--libavcodec/twinvq.c2
-rw-r--r--libavcodec/utils.c3
-rw-r--r--libavcodec/vmdav.c2
-rw-r--r--libavcodec/vorbis_data.c4
-rw-r--r--libavcodec/wavpack.c2
-rw-r--r--libavcodec/wmavoice.c2
-rw-r--r--libavcodec/ws-snd1.c2
50 files changed, 62 insertions, 64 deletions
diff --git a/libavcodec/aacdectab.h b/libavcodec/aacdectab.h
index 0083260895..4a12b4fb32 100644
--- a/libavcodec/aacdectab.h
+++ b/libavcodec/aacdectab.h
@@ -30,7 +30,7 @@
#ifndef AVCODEC_AACDECTAB_H
#define AVCODEC_AACDECTAB_H
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "aac.h"
#include <stdint.h>
diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c
index 8250a67678..8dc4c0d480 100644
--- a/libavcodec/ac3_parser.c
+++ b/libavcodec/ac3_parser.c
@@ -20,11 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/channel_layout.h"
#include "parser.h"
#include "ac3_parser.h"
#include "aac_ac3_parser.h"
#include "get_bits.h"
-#include "libavutil/audioconvert.h"
#define AC3_HEADER_SIZE 7
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 9781af59bb..22b6857847 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -30,9 +30,9 @@
#include <stdint.h>
-#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "avcodec.h"
@@ -40,7 +40,6 @@
#include "dsputil.h"
#include "ac3dsp.h"
#include "ac3.h"
-#include "audioconvert.h"
#include "fft.h"
#include "ac3enc.h"
#include "eac3enc.h"
diff --git a/libavcodec/ac3tab.c b/libavcodec/ac3tab.c
index ccf04ec016..9d20d907dd 100644
--- a/libavcodec/ac3tab.c
+++ b/libavcodec/ac3tab.c
@@ -24,7 +24,7 @@
* tables taken directly from the AC-3 spec.
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "ac3tab.h"
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 2b1eedb5ad..b70534383b 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -45,7 +45,7 @@
* 32bit samplerate
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c
index a523a54ccb..0057959361 100644
--- a/libavcodec/amrnbdec.c
+++ b/libavcodec/amrnbdec.c
@@ -43,7 +43,7 @@
#include <string.h>
#include <math.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "dsputil.h"
#include "libavutil/common.h"
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index a0e7cd66b3..468ffa0716 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -24,7 +24,7 @@
* AMR wideband decoder
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/lfg.h"
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index 2ab0c89c16..a85d355254 100644
--- a/libavcodec/apedec.c
+++ b/libavcodec/apedec.c
@@ -20,12 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/avassert.h"
+#include "libavutil/channel_layout.h"
+#include "libavutil/opt.h"
#include "avcodec.h"
#include "dsputil.h"
#include "bytestream.h"
-#include "libavutil/audioconvert.h"
-#include "libavutil/avassert.h"
-#include "libavutil/opt.h"
/**
* @file
diff --git a/libavcodec/audioconvert.h b/libavcodec/audioconvert.h
index 03b196bdf8..61124b3a32 100644
--- a/libavcodec/audioconvert.h
+++ b/libavcodec/audioconvert.h
@@ -31,7 +31,7 @@
#include "libavutil/cpu.h"
#include "avcodec.h"
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
struct AVAudioConvert;
typedef struct AVAudioConvert AVAudioConvert;
diff --git a/libavcodec/bmv.c b/libavcodec/bmv.c
index b05bd49038..fa44c6ceff 100644
--- a/libavcodec/bmv.c
+++ b/libavcodec/bmv.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "libavutil/avassert.h"
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index cc256f6616..a02dd86744 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -42,13 +42,13 @@
* available.
*/
+#include "libavutil/channel_layout.h"
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "bytestream.h"
#include "fft.h"
-#include "libavutil/audioconvert.h"
#include "sinewin.h"
#include "cookdata.h"
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 6c97623842..c21a97b2ec 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -26,12 +26,12 @@
#include <stddef.h>
#include <stdio.h>
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/intmath.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
-#include "libavutil/audioconvert.h"
#include "libavutil/samplefmt.h"
#include "avcodec.h"
#include "dsputil.h"
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
index 6a0d754159..a1b45f1945 100644
--- a/libavcodec/dsicinav.c
+++ b/libavcodec/dsicinav.c
@@ -24,7 +24,7 @@
* Delphine Software International CIN audio/video decoders
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "mathops.h"
diff --git a/libavcodec/flac.c b/libavcodec/flac.c
index 4c1bc58408..3b803fedb7 100644
--- a/libavcodec/flac.c
+++ b/libavcodec/flac.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "libavutil/log.h"
#include "bytestream.h"
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 05793c961d..317d7fa838 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -33,8 +33,8 @@
#include <limits.h>
-#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "avcodec.h"
#include "internal.h"
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c
index 6c505d93b9..f28c86b3f9 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -34,11 +34,11 @@
* respectively of each byte are ignored.
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
+#include "libavutil/opt.h"
#include "avcodec.h"
#include "get_bits.h"
#include "g722.h"
-#include "libavutil/opt.h"
#define OFFSET(x) offsetof(G722Context, x)
#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c
index a74c74da61..58df03c0ef 100644
--- a/libavcodec/g723_1.c
+++ b/libavcodec/g723_1.c
@@ -26,7 +26,7 @@
*/
#define BITSTREAM_READER_LE
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avcodec.h"
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 609882ed7d..e505d5dfb9 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -23,8 +23,8 @@
*/
#include <limits.h>
-#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c
index 3e1b86a981..f6f99bdd8e 100644
--- a/libavcodec/gsmdec.c
+++ b/libavcodec/gsmdec.c
@@ -24,7 +24,7 @@
* GSM decoder
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "msgsmdec.h"
diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index ba39d41c98..fff4b90ee7 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -35,12 +35,12 @@
#include <stddef.h>
#include <stdio.h>
+#include "libavutil/channel_layout.h"
+#include "libavutil/libm.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "fft.h"
-#include "libavutil/audioconvert.h"
-#include "libavutil/libm.h"
#include "sinewin.h"
#include "imcdata.h"
diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index 0bfed1e0fc..a7bf503b3c 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -26,11 +26,11 @@
#include <faac.h>
+#include "libavutil/channel_layout.h"
+#include "libavutil/common.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "internal.h"
-#include "libavutil/audioconvert.h"
-#include "libavutil/common.h"
/* libfaac has an encoder delay of 1024 samples */
diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
index 2874e3797c..c2d8a2be25 100644
--- a/libavcodec/libfdk-aacenc.c
+++ b/libavcodec/libfdk-aacenc.c
@@ -21,12 +21,12 @@
#include <fdk-aac/aacenc_lib.h>
+#include "libavutil/channel_layout.h"
+#include "libavutil/common.h"
+#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "internal.h"
-#include "libavutil/audioconvert.h"
-#include "libavutil/common.h"
-#include "libavutil/opt.h"
typedef struct AACContext {
const AVClass *class;
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c
index e90bdf0c4e..8915ef57ba 100644
--- a/libavcodec/libgsm.c
+++ b/libavcodec/libgsm.c
@@ -29,11 +29,11 @@
#include <gsm/gsm.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
+#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "gsm.h"
-#include "libavutil/common.h"
static av_cold int libgsm_encode_close(AVCodecContext *avctx) {
#if FF_API_OLD_ENCODE_AUDIO
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
index 462622a2d5..bcc01eddda 100644
--- a/libavcodec/libilbc.c
+++ b/libavcodec/libilbc.c
@@ -21,10 +21,10 @@
#include <ilbc.h>
-#include "libavutil/audioconvert.h"
-#include "avcodec.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
+#include "avcodec.h"
#include "internal.h"
static int get_mode(AVCodecContext *avctx)
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index b2669c837b..a0f39bb5f5 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -26,7 +26,7 @@
#include <lame/lame.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index df038dfcbf..efe87cd0fa 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -19,11 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
-#include "avcodec.h"
#include "libavutil/avstring.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
+#include "avcodec.h"
#include "audio_frame_queue.h"
#include "internal.h"
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c
index 51ab7ea07c..deed7e9eb5 100644
--- a/libavcodec/libspeexdec.c
+++ b/libavcodec/libspeexdec.c
@@ -23,7 +23,7 @@
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c
index fb597efb6e..7dfc6d333c 100644
--- a/libavcodec/libspeexenc.c
+++ b/libavcodec/libspeexenc.c
@@ -85,7 +85,7 @@
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index 1f5a3b13ab..f1c0a0d1e8 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -26,8 +26,8 @@
#include <stdint.h>
+#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
-#include "libavutil/audioconvert.h"
#include "get_bits.h"
#include "parser.h"
#include "mlp_parser.h"
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 9f3cf6c828..bacb78e8e6 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -25,12 +25,12 @@
* divided into 32 subbands.
*/
+#include "libavutil/channel_layout.h"
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "mpegaudiodsp.h"
-#include "libavutil/audioconvert.h"
#include "mpc.h"
#include "mpc7data.h"
diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c
index 8b1c9353ba..1af417ac08 100644
--- a/libavcodec/mpc8.c
+++ b/libavcodec/mpc8.c
@@ -25,12 +25,12 @@
* divided into 32 subbands.
*/
+#include "libavutil/channel_layout.h"
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "mpegaudiodsp.h"
-#include "libavutil/audioconvert.h"
#include "mpc.h"
#include "mpc8data.h"
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index f0256f31c1..8f7d34c254 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -24,8 +24,8 @@
* MPEG Audio decoder
*/
-#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/libm.h"
#include "avcodec.h"
#include "get_bits.h"
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
index 806cb21a88..75436f8522 100644
--- a/libavcodec/mpegaudioenc.c
+++ b/libavcodec/mpegaudioenc.c
@@ -24,7 +24,7 @@
* The simplest mpeg audio layer 2 encoder.
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "internal.h"
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index 8413ea5ce7..b4823a895d 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -31,14 +31,14 @@
* implementors. The original code is available from http://code.google.com/p/nelly2pcm/
*/
-#include "nellymoser.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
-#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "dsputil.h"
#include "fft.h"
#include "fmtconvert.h"
+#include "nellymoser.h"
#include "sinewin.h"
#define BITSTREAM_READER_LE
diff --git a/libavcodec/pcm-mpeg.c b/libavcodec/pcm-mpeg.c
index 207f12134a..01a61c8696 100644
--- a/libavcodec/pcm-mpeg.c
+++ b/libavcodec/pcm-mpeg.c
@@ -24,7 +24,7 @@
* PCM codecs for encodings found in MPEG streams (DVD/Blu-ray)
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 9cc30f6397..e406049171 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -29,7 +29,7 @@
#include <stddef.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 38eca42476..08674be709 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -36,7 +36,7 @@
#include <stdio.h>
#define BITSTREAM_READER_LE
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c
index acf6247c06..ad9e00836f 100644
--- a/libavcodec/ra144dec.c
+++ b/libavcodec/ra144dec.c
@@ -22,7 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/intmath.h"
#include "avcodec.h"
#include "get_bits.h"
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 41364f36bc..a9f67bf147 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#define BITSTREAM_READER_LE
diff --git a/libavcodec/ralf.c b/libavcodec/ralf.c
index 3244424f74..c9c8080dd9 100644
--- a/libavcodec/ralf.c
+++ b/libavcodec/ralf.c
@@ -26,11 +26,11 @@
* Dedicated to the mastermind behind it, Ralph Wiggum.
*/
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "golomb.h"
#include "unary.h"
-#include "libavutil/audioconvert.h"
#include "ralfdata.h"
#define FILTER_NONE 0
diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index 986310dda9..d8bfdd28c9 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -25,7 +25,7 @@
#include <stdint.h>
#include <string.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/mathematics.h"
#include "avcodec.h"
#define BITSTREAM_READER_LE
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index a6a4386605..f4cc6ae72b 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -31,8 +31,8 @@
#include <stdio.h>
#include <stdlib.h>
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
-#include "libavutil/audioconvert.h"
#include "mathops.h"
#define BITSTREAM_READER_LE
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c
index 686bf080ec..d523bdd792 100644
--- a/libavcodec/truespeech.c
+++ b/libavcodec/truespeech.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "dsputil.h"
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c
index 88c1c9a6c8..d7a372648a 100644
--- a/libavcodec/twinvq.c
+++ b/libavcodec/twinvq.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "get_bits.h"
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 931f3fd53e..0d3cb81bf1 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -27,10 +27,10 @@
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/crc.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/audioconvert.h"
#include "libavutil/imgutils.h"
#include "libavutil/samplefmt.h"
#include "libavutil/dict.h"
@@ -40,7 +40,6 @@
#include "libavutil/opt.h"
#include "thread.h"
#include "frame_thread_encoder.h"
-#include "audioconvert.h"
#include "internal.h"
#include "bytestream.h"
#include <stdlib.h>
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c
index 1ecf211582..63343fd2ee 100644
--- a/libavcodec/vmdav.c
+++ b/libavcodec/vmdav.c
@@ -43,7 +43,7 @@
#include <stdlib.h>
#include <string.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
diff --git a/libavcodec/vorbis_data.c b/libavcodec/vorbis_data.c
index f4b25fbf20..8aa8015df5 100644
--- a/libavcodec/vorbis_data.c
+++ b/libavcodec/vorbis_data.c
@@ -18,10 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/channel_layout.h"
+#include "libavutil/mem.h"
#include "dsputil.h"
#include "vorbis.h"
-#include "libavutil/audioconvert.h"
-#include "libavutil/mem.h"
const uint8_t ff_vorbis_channel_layout_offsets[8][8] = {
{ 0 },
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c
index 253974e4b6..69637fee51 100644
--- a/libavcodec/wavpack.c
+++ b/libavcodec/wavpack.c
@@ -21,7 +21,7 @@
#define BITSTREAM_READER_LE
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "unary.h"
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index f4e156e92e..c156be830a 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -29,7 +29,7 @@
#include <math.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "dsputil.h"
#include "avcodec.h"
diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c
index 3a83f94e41..0f23a6d2b5 100644
--- a/libavcodec/ws-snd1.c
+++ b/libavcodec/ws-snd1.c
@@ -21,7 +21,7 @@
#include <stdint.h>
-#include "libavutil/audioconvert.h"
+#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"