aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/audioconvert.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-04-18 18:51:01 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-04-18 18:51:01 +0000
commit1b7bc4a2455f7efc8b29e6f9c2dc22eff3c84e27 (patch)
treef70dee6bcc2d5d1cd3aebd452cbb9189d7eab327 /libavcodec/audioconvert.c
parentf63f689e101225d2a35f614c8843e7bdcdadee78 (diff)
downloadffmpeg-1b7bc4a2455f7efc8b29e6f9c2dc22eff3c84e27.tar.gz
Add 3 channel layout convenience macros.
Originally committed as revision 18609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/audioconvert.c')
-rw-r--r--libavcodec/audioconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/audioconvert.c b/libavcodec/audioconvert.c
index 94c06f83df..b0a8afacb4 100644
--- a/libavcodec/audioconvert.c
+++ b/libavcodec/audioconvert.c
@@ -108,6 +108,7 @@ static const struct {
{ "mono", 1, CH_LAYOUT_MONO },
{ "stereo", 2, CH_LAYOUT_STEREO },
{ "surround", 3, CH_LAYOUT_SURROUND },
+ { "4.0", 4, CH_LAYOUT_4POINT0 },
{ "quad", 4, CH_LAYOUT_QUAD },
{ "5.0", 5, CH_LAYOUT_5POINT0 },
{ "5.0", 5, CH_LAYOUT_5POINT0_BACK },