Fix libao usage
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 23:44:08 +0000 (18:44 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 23:44:08 +0000 (18:44 -0500)
commit70a04894a990df17ad6d43132b501609d3774150
tree12fa47ee13a8905fb7b3bc4ab2fd031abe9e5848
parentf70c41c0682f65023f3741058ba362b0913d8924
Fix libao usage

* src/media/sound-ao.c (sound_ao_create): Zero out sample format
structure. Newer libao add a matrix field, which when non-null
could cause a crash. This will make ao support more future proof
to pointer dereference in future struct changes

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/media/sound-ao.c