Commit Graph

34 Commits

Author SHA1 Message Date
David Seifert
2ed38b57c5
Release 1.2.0 2022-12-25 11:19:16 +01:00
Justace Clutter
53e7dee234
Remove samplerate < SF_MAX_SAMPLERATE requirement (#851)
Related to #850.

Co-authored-by: evpobr <evpobr@gmail.com>
2022-07-11 13:32:40 +05:00
Stefan Westerfeld
a67c601b0c Support skipping large wav chunks on stdin.
Some wav files can have rather large chunks with chunk types that are
not supported by libsndfile at all. For those, header_seek will just
skip the whole chunk.

This commit makes skipping the chunk work even if the input is stdin
(which doesn't support psf_fseek), by reading over the header using
psf_fread in that case.
2022-04-12 14:01:51 +05:00
evpobr
83e583dd2c Fix typo 2022-04-06 10:18:19 +05:00
evpobr
d6f83cd4fe gsm610: Fix signed integer overflow
Related to libsndfile#785

Co-authored-by: evpobr <evpobr@gmail.com>
2022-04-06 10:05:41 +05:00
evpobr
fc298c9d93 Fix build on UWP platform, closes #824 2022-04-03 12:13:29 +05:00
evpobr
269ae40a3b Fix CMake build from Autotools tarball, closes #816 2022-04-03 12:05:00 +05:00
evpobr
eff5f0a640 cmake: fix LAME dependency search 2022-04-03 11:41:07 +05:00
evpobr
89e7c02464 Prepare to release 2022-03-27 15:31:49 +05:00
evpobr
4b01368fd8 Update CHANGELOG.md 2022-03-19 09:32:03 +05:00
Felix Lange
ca2008903f
sndfile-convert: fix typo in error message (#793)
Co-authored-by: evpobr <evpobr@gmail.com>
2021-11-24 09:52:36 +05:00
evpobr
47383a6cc2 Update CHANGELOG.md 2021-11-24 09:43:36 +05:00
evpobr
0c10913b92 Add support for Vcpkg manifest mode
https://vcpkg.readthedocs.io/en/latest/users/manifests/
2021-11-21 14:49:44 +05:00
evpobr
739bc8cdac Fix unintialized variable in psf_binheader_readf()
Thanks to @shao-hua-li
2021-11-21 12:58:44 +05:00
evpobr
7e2db6e8ef Create SECURITY.md 2021-11-18 09:57:37 +05:00
evpobr
c7b69d7589 Update CHANGELOG.md
Commit 404bf9a also fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25624.
2021-11-09 21:01:06 +05:00
evpobr
404bf9af79 Fix integer overflow in psf_log_printf()
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28441

Credit to OSS-Fuzz.
2021-11-09 14:28:10 +05:00
David Seifert
1c407fe823
libtool: don't build static archives by default 2021-10-24 14:53:11 +02:00
David Seifert
aaac071f60
update CHANGELOG.md for MPEG-III-in-wav 2021-10-24 13:37:08 +02:00
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