third_party_libsnd/examples
Ulrich Klauer 23c926d633 Properly initialize SF_INFO in example programs
Some of the example programs (examples/generate.c,
examples/sfprocess.c, examples/sndfile-to-text.c) didn't initialize
the SF_INFO structure to zero before using it, leading to undefined
behaviour. Add a memset() to fix this.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-07 18:13:53 +11:00
..
generate.c Properly initialize SF_INFO in example programs 2013-02-07 18:13:53 +11:00
generate.cs Clean out cruft. 2008-04-05 20:13:47 +11:00
list_formats.c Update copyright dates. 2011-01-19 21:36:56 +11:00
make_sine.c More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
Makefile.am Move real utility programs from examples/ to new directory programs/ . 2008-10-21 22:49:55 +11:00
sfprocess.c Properly initialize SF_INFO in example programs 2013-02-07 18:13:53 +11:00
sndfile-to-text.c Properly initialize SF_INFO in example programs 2013-02-07 18:13:53 +11:00
sndfilehandle.cc Update copyright dates. 2011-01-19 21:36:56 +11:00