summaryrefslogtreecommitdiff
path: root/libavutil/audioconvert.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-27 18:41:09 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-28 10:04:09 +0200
commite2affa8ce7491253810117a8f0b22aada1f5cea6 (patch)
tree06280cc185649c202760760bf4b9bbfcadeba4ac /libavutil/audioconvert.c
parent44187717c1611695ff441d22f29c7882bd318ae4 (diff)
audioconvert: define unique strings for AV_CH_LAYOUT_5POINT{0,1}_BACK
Previously the string for AV_CH_LAYOUT_5POINT{0,1}_BACK was the same of the string for AV_CH_LAYOUT_5POINT{0,1}. This is required for discerning the two channel layouts, given a channel layout string.
Diffstat (limited to 'libavutil/audioconvert.c')
-rw-r--r--libavutil/audioconvert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c
index 60743de22a..6e8649d56c 100644
--- a/libavutil/audioconvert.c
+++ b/libavutil/audioconvert.c
@@ -52,9 +52,9 @@ static const struct {
{ "4.0", 4, AV_CH_LAYOUT_4POINT0 },
{ "quad", 4, AV_CH_LAYOUT_QUAD },
{ "5.0", 5, AV_CH_LAYOUT_5POINT0 },
- { "5.0", 5, AV_CH_LAYOUT_5POINT0_BACK },
+ { "5.0(back)", 5, AV_CH_LAYOUT_5POINT0_BACK },
{ "5.1", 6, AV_CH_LAYOUT_5POINT1 },
- { "5.1", 6, AV_CH_LAYOUT_5POINT1_BACK },
+ { "5.1(back)", 6, AV_CH_LAYOUT_5POINT1_BACK },
{ "5.1+downmix", 8, AV_CH_LAYOUT_5POINT1|AV_CH_LAYOUT_STEREO_DOWNMIX, },
{ "7.1", 8, AV_CH_LAYOUT_7POINT1 },
{ "7.1(wide)", 8, AV_CH_LAYOUT_7POINT1_WIDE },