[libav-devel] [PATCH] Add channel names to channel_names[] array for channels added in b2890f5

Tim W tdskywalker at gmail.com
Wed Feb 22 15:01:20 CET 2012


---
libavutil/audioconvert.c |    4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c
index 83f2d7c..0a83b05 100644
--- a/libavutil/audioconvert.c
+++ b/libavutil/audioconvert.c
@@ -48,6 +48,10 @@ static const char * const channel_names[] = {
    [17] = "TBR",       /* top back right */
    [29] = "DL",        /* downmix left */
    [30] = "DR",        /* downmix right */
+    [31] = "WL",        /* wide left */
+    [32] = "WR",        /* wide right */
+    [33] = "SDL",       /* surround direct left */
+    [34] = "SDR",       /* surround direct right */
};

static const char *get_channel_name(int channel_id)
-- 
1.7.5.4



More information about the libav-devel mailing list