]> git.alsa-project.org Git - alsa-plugins.git/commit
a52 - set channel layout with recent libavcodec
authorAnssi Hannula <anssi.hannula@iki.fi>
Fri, 27 Nov 2009 15:15:46 +0000 (17:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2009 15:39:37 +0000 (16:39 +0100)
commite153af85698f6e85d0757b69e1ef77f23b67988f
tree7706e164970af74315705a7d5942378515478daa
parentdfe0c4fe6fc26c94d633316ce8f85cb0c17ff807
a52 - set channel layout with recent libavcodec

As of SVN r18631 (2009-04-20) A52 encoder of libavcodec outputs a
warning at run-time if channel layout is not specified.

Fix that by setting the channel layout in a52_prepare() when building
against libavcodec revision that supports this.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
a52/pcm_a52.c