projects/guix·blob javascript-team · refs

19 lines · 614 B

1Description: Zero ao_sample_format structure to cope with libao 1.0.0
2Author: Colin Watson <[email protected]>
3Bug-Debian: http://bugs.debian.org/591396
4Bug-Ubuntu: https://bugs.launchpad.net/bugs/710268
5Forwarded: no
6Last-Update: 2013-05-07
7
8Index: b/ao.c
9===================================================================
10--- a/ao.c
11+++ b/ao.c
12@@ -123,6 +123,7 @@
13
14 /* initialize ao_format struct */
15 /* XXX VERY WRONG */
16+ memset(&ao_fmt, 0, sizeof(ao_fmt));
17 ao_fmt.bits=16; /*tmp_stream_info.average_bitrate;*/
18 ao_fmt.rate=streaminfo->sample_freq;
19 ao_fmt.channels=streaminfo->channels;