diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-06 22:52:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-06 22:52:01 +0200 |
commit | 2e0c360abd74b94991aa9a271cadc72aae1471c2 (patch) | |
tree | cbea40b59f334f8f7447a79b6fbdf514f0dd2e0c /libavcodec/audioconvert.c | |
parent | bd128e9bff8aaec97ce7dcd414717c214536c7d9 (diff) | |
parent | 20234a4bd7e187ae31f9a66b5c40e98666bc30e4 (diff) | |
download | ffmpeg-2e0c360abd74b94991aa9a271cadc72aae1471c2.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
cosmetics: Align muxer/demuxer declarations
mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning
avcodec: remove avcodec_guess_channel_layout()
avutil: Add av_get_default_channel_layout()
Conflicts:
doc/APIchanges
libavcodec/mpeg12.c
libavformat/cdg.c
libavformat/matroskaenc.c
libavformat/mpegts.c
libavformat/nuv.c
libavformat/wav.c
libavutil/audioconvert.c
libavutil/audioconvert.h
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/audioconvert.c')
-rw-r--r-- | libavcodec/audioconvert.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/audioconvert.c b/libavcodec/audioconvert.c index 2cf36bd1ab..74c6600849 100644 --- a/libavcodec/audioconvert.c +++ b/libavcodec/audioconvert.c @@ -31,20 +31,6 @@ #include "avcodec.h" #include "audioconvert.h" -uint64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name) -{ - switch(nb_channels) { - case 1: return AV_CH_LAYOUT_MONO; - case 2: return AV_CH_LAYOUT_STEREO; - case 3: return AV_CH_LAYOUT_SURROUND; - case 4: return AV_CH_LAYOUT_QUAD; - case 5: return AV_CH_LAYOUT_5POINT0; - case 6: return AV_CH_LAYOUT_5POINT1; - case 8: return AV_CH_LAYOUT_7POINT1; - default: return 0; - } -} - struct AVAudioConvert { int in_channels, out_channels; int fmt_pair; |