Commit 9baa0d32 authored by jbr's avatar jbr

Do not guess the channel layout when getting its string value.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19185 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c29aca06
......@@ -124,9 +124,6 @@ void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels,
{
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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment