changeset 9851:e0fe929c5dc4 libavcodec

Do not guess the channel layout when getting its string value.
author jbr
date Sat, 13 Jun 2009 22:33:13 +0000
parents 63dbab428e01
children af3cc583501e
files audioconvert.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/audioconvert.c	Sat Jun 13 18:57:54 2009 +0000
+++ b/audioconvert.c	Sat Jun 13 22:33:13 2009 +0000
@@ -124,9 +124,6 @@
 {
     int i;
 
-    if (channel_layout==0)
-        channel_layout = avcodec_guess_channel_layout(nb_channels, CODEC_ID_NONE, NULL);
-
     for (i=0; channel_layout_map[i].name; i++)
         if (nb_channels    == channel_layout_map[i].nb_channels &&
             channel_layout == channel_layout_map[i].layout) {