Commit Graph

15 Commits

Author SHA1 Message Date
David Seifert
475ddd7a46
Switch release tarballs .bz2 -> .xz
* `.bz2` = 0.86 MiB
* `.xz` = 0.70 MiB
  by switching, we save nearly 20%
2021-09-05 15:01:09 +02:00
DavidKorczynski
110e26d9c2
Add new fuzzer for OSS-Fuzz (#769)
Adds a fuzzer targeting sf_read_double, sf_read_int and sf_read_short.

Co-authored-by: evpobr <evpobr@gmail.com>
2021-08-15 09:38:48 +05:00
evpobr
16b089a8a2 m4/add_fortify_source.m4: Update to fix MinGW bug
See https://github.com/msys2/MINGW-packages/issues/5803 for details.
2021-06-18 11:26:10 +05:00
evpobr
5300a9e18c Update CHANGELOG.md 2021-06-01 10:25:51 +05:00
evpobr
0cbfc93a3e cmake: Fix shared library ABI on Apple platforms
Now ABI version must be compatible with Autotools builds. Note that
this change requires CMake >= 3.17 for building dylib on Apple
platforms.
2021-05-16 14:51:32 +05:00
evpobr
f1db22760b Update CHANGELOG.md 2021-04-20 13:26:37 +05:00
evpobr
72521cf4f7 doc: Add information about MPEG support 2021-03-26 12:10:48 +05:00
evpobr
4539826643 Update CHANGELOG.md 2021-03-19 11:33:49 +05:00
evpobr
6dee7120ab sndfile-salvage: Handle files > 4 GB on Windows OS 2021-03-06 21:44:33 +05:00
evpobr
2a8feebcdb Use UTF-8 as internal path encoding
This is an internal change to unify and simplify the handling of file
paths.

On the Windows platform, the file path is always converted to UTF-8 and
converted to UTF-16 only for calls to WinAPI functions.

The behavior of the functions for opening files on non-Windows platforms
does not change.
2021-02-19 16:44:50 +05:00
evpobr
d11a64c7c4 Deprecate ENABLE_SNDFILE_WINDOWS_PROTOTYPES define
Use standard `_WIN32` define instead. Any sane compiler on Windows
platfrom defines `_WIN32`.

The `wpath` parameter type has been changed to an equivalent type that
does not require the inclusion of the `windows.h` header.
2021-02-18 16:56:34 +05:00
evpobr
c401533017 Update CHANGELOG.md 2021-02-16 10:44:12 +05:00
bobsayshilol
ecb9672aaa
Fix int normalisation when reading in floats with the replacement reader (#702)
* Use the correct scale when normalising an integer read on the fallback floating point path.
Without this the values were only being scaled to a short's max value.

* Add a second pass over the floating point tests that enables the replacement read functionality.
These cover the issue fixed by the previous commit.

* Add an entry to CHANGELOG.md for #702.
2021-02-14 09:45:07 +05:00
evpobr
dca6f8abbb Fix memory leak in caf_read_header()
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30375

Credit to OSS-Fuzz.
2021-02-08 09:47:14 +05:00
evpobr
89bed47c45 Add CHANGELOG.md
Other changes:

* Rename the old `NEWS` file to `NEWS.OLD`.
* Update documentation links.
2021-02-01 09:15:19 +05:00