Commit Graph

27 Commits

Author SHA1 Message Date
Erik de Castro Lopo
9b4fdaccc1 tests/header_test.tpl: Fix a memory leak
Found using AddressSanitizer.
2017-10-26 19:21:06 +11:00
Erik de Castro Lopo
cc5e831a75 A couple of minor cstyle fixes 2017-10-01 16:33:41 +11:00
Henner Zeller
f96e5a2047 Add test for flac regression update-header-before-write
Explicitly writing the header with SFC_UPDATE_HEADER_NOW before
the first sf_write() was making sf_write() calls fail. This is a
test to verify that the fix works.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2017-08-10 20:09:55 +10:00
Erik de Castro Lopo
b506de463d Fix MSAN errors
Fix multiple errors uncovered by Clang's Memory Sanitizer.

Closes: https://github.com/erikd/libsndfile/issues/248
2017-05-04 18:42:24 +10:00
Erik de Castro Lopo
20e43d929a tests/header_test.tpl : Printf format fixes. 2012-02-26 11:21:58 +11:00
Erik de Castro Lopo
518e3be6ef tests/ : Fix all printf format warnings. 2012-02-18 12:59:32 +11:00
Erik de Castro Lopo
8508ec5679 More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
Erik de Castro Lopo
9b8d1e0f2f Fix a bunch of compiler warnings with gcc-4.6. 2011-03-28 18:43:05 +11:00
Erik de Castro Lopo
f209698448 Update copyright dates. 2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
a38e0b105e Update copyright notices. 2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
7f51dea38e Add more RF64 tests. 2008-08-23 10:03:23 +10:00
Erik de Castro Lopo
4ee9007ff8 Merge in support for MPC 2000 files. 2008-04-19 19:14:05 +10:00
Erik de Castro Lopo
c215c0fc85 Apply similar fix from writing float data to WAVEX files without a peak chunk. 2007-12-28 01:38:33 +11:00
Erik de Castro Lopo
a6f3f957c4 Apply similar fix from writing float data to AIFF files without a peak chunk. 2007-12-28 01:33:04 +11:00
Erik de Castro Lopo
33c4abb8d5 tests/header_test.tpl : Add header_shrink_test from Axel Roebel. 2007-12-28 01:25:13 +11:00
Erik de Castro Lopo
2883d6b4cc *.(def|tpl) : Remove arch-tag comments from end of files. 2007-06-09 21:40:30 +10:00
Erik de Castro Lopo
f3ea80efe5 Fix autoconf config issues using new file sfconfig.h. 2005-09-03 06:12:30 +00:00
Erik de Castro Lopo
fe7d03cd59 Remove some of the config related changes in last commit. They broke MinGW builds. 2005-09-03 03:50:47 +00:00
Erik de Castro Lopo
0c7b227de0 Fix a bunch of minor issues found by John Pavel using the Intel compiler. 2005-09-03 02:18:46 +00:00
Erik de Castro Lopo
67f408112e Add tests for CAF. 2005-07-08 10:43:00 +00:00
Erik de Castro Lopo
b8825e69e3 Update test progs to handle modified test_open_file_or_die().
Patches applied:

 * erikd@miles--2004/libsndfile--weird--1.0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-300

 * erikd@miles--2004/libsndfile--weird--1.0--patch-1
   Remove old definition of SF_FORMAT_SD2 from common.h.

 * erikd@miles--2004/libsndfile--weird--1.0--patch-2
   Move rsrc filename construction to psf_open_rsrc() and add SFE_SD2_FD_DISALLOWED.
2004-10-28 22:21:40 +00:00
Erik de Castro Lopo
54f4cfd1a2 Minor updates in preparation for 1.0.10 release. 2004-06-14 11:54:59 +00:00
Erik de Castro Lopo
ff5f9f7249 Add extra_header_test(). 2004-05-23 03:39:34 +00:00
Erik de Castro Lopo
2175889198 Updates to header_test.tpl. 2004-05-21 10:04:14 +00:00
Erik de Castro Lopo
fd0cecf49a Modify/update tests for files opened SFM_RDWR and UPDATE_HEADER_AUTO. 2004-05-21 02:03:53 +00:00
Erik de Castro Lopo
0e46fbf73c Fix UPDATE_HEADER_AUTO corner case bug. 2004-05-19 13:23:52 +00:00
Erik de Castro Lopo
cb979e10a7 First snapshot of the public project. 2007-05-14 19:55:24 +10:00