]> code.delx.au - pulseaudio/commit
module-tunnel: Fix for new protocol versions
authorMaarten Bosmans <mkbosmans@gmail.com>
Sat, 13 Aug 2011 11:43:18 +0000 (13:43 +0200)
committerColin Guthrie <colin@mageia.org>
Mon, 15 Aug 2011 08:41:56 +0000 (09:41 +0100)
commit1e4298be4d7c5447699eaa93487bceecfc58cea5
tree4afa66f982984c99865983466a5ccf9969c30c73
parent0636f4e6850b764dac25ff209415de60bfcde70d
module-tunnel: Fix for new protocol versions

The commit 7ebc5033 resulted in segfaults, because format->plist was not allocated.
The solution is not to allocate pa_format_info on the stack, but to properly use pa_format_info_new().
Also a typo regarding pa_tagstruct_putu8 is corrected.
src/modules/module-tunnel.c