ALSA: do not overwrite output format until success is assured
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Jul 2011 16:59:26 +0000 (19:59 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Jul 2011 16:59:26 +0000 (19:59 +0300)
commit63b3578001a89218f6b26af4790135823a63193c
tree15000aa1789f661116955c1b511f6d14d0adc2f6
parent2188759b7aafee1e6597e1c1d8b59f7dd8b609e4
ALSA: do not overwrite output format until success is assured

Otherwise the next probed plugin would get a potentially corrupted
input format. This bug may affect other audio output plugins and
similarly even some video outptu display plugins (not checked yet).
modules/audio_output/alsa.c