Sean Barrett
63b59b46b0
update version numbers
ago%!(EXTRA string=6 years)
Kevin Croft
d1dc3fe89c
Fix return typo, disambiguate else, and check for the complete fishead identifier
ago%!(EXTRA string=6 years)
Kevin Croft
604b9367ee
Add detection for Ogg skeleton metadata
ago%!(EXTRA string=6 years)
luz.paz
622b3adad3
Misc. comment typos
...
Found via `codespell -q 3`
ago%!(EXTRA string=7 years)
Sean Barrett
ac66307576
docs
ago%!(EXTRA string=7 years)
Sean Barrett
b79c8458d3
stb_vorbis: avoid NaN due to uninitialized variable
ago%!(EXTRA string=7 years)
Sean Barrett
a77d9213e4
stb_vorbis: no dealloca
ago%!(EXTRA string=7 years)
Sean Barrett
663deb3a43
redo lost stb_vorbis fixes
ago%!(EXTRA string=7 years)
Sean Barrett
dfff6f5e7c
stb_image: fix assert macro usage; stb_vorbis: changelog
ago%!(EXTRA string=7 years)
Sean Barrett
ee0ebfc79b
version numbers
ago%!(EXTRA string=7 years)
Sean Barrett
244d83bc3d
fix unchecked length in stb_vorbis that could crash on corrupt/invalid files
ago%!(EXTRA string=7 years)
Sean Barrett
dd039e8cc5
credits for mingw fixes in #444
ago%!(EXTRA string=8 years)
Sean Barrett
555efbedfc
Update version numbers
ago%!(EXTRA string=8 years)
Fabian Giesen
2da81a6433
stb_vorbis: MinGW has alloca defined in malloc.h.
...
Fixes issue #461 .
ago%!(EXTRA string=8 years)
Infatum
4963448726
fix: Build on MinGW32
ago%!(EXTRA string=8 years)
Sean Barrett
e248e30954
change license to public-domain AND mit (based on twitter vote)
ago%!(EXTRA string=8 years)
Sean Barrett
f88e2a8e7b
update version
ago%!(EXTRA string=8 years)
Sean Barrett
46046238b8
rename Point data structure as suggested in pull request
ago%!(EXTRA string=8 years)
Sean Barrett
d2de2be10f
vorbis: propagate errors better on seek failure (e.g. when coarse seek fails)
ago%!(EXTRA string=8 years)
Julian Raschke
a055654ee3
Rename Point to stbv__point
ago%!(EXTRA string=8 years)
Alejandro Pereda
3f36b29589
Overwrites error parameter in stb_vorbis_open_memory when there is no error. This avoid confusion due to previous values.
ago%!(EXTRA string=8 years)
Fabian Giesen
f32854c809
stb_vorbis: Fix handling of negative numbers in ilog.
...
For negative n, the original code went down the "n < (1<<4)"
path and performed an out-of-bounds array access. Fix the code
to agree with section 9.2.1 of the Vorbis spec. (Verified by
exhaustive testing of all 32-bit ints.)
Fixes issue #355 .
ago%!(EXTRA string=9 years)
Sean Barrett
14e6a98469
clarify alloca #include whitelists
ago%!(EXTRA string=9 years)
Sean Barrett
f4938bfa4d
Whitelist the compilers that need malloc.h for alloca
ago%!(EXTRA string=9 years)
Sean Barrett
4c519106a7
back out previous change to stb_vorbis (truncation of last frame in corrupt file)
ago%!(EXTRA string=9 years)
Sean Barrett
6e4154737c
update version numbers, documentation, and contributors
ago%!(EXTRA string=9 years)
Sean Barrett
b03133000a
avoid dropping final frame of audio data due to wrong test
ago%!(EXTRA string=9 years)
Sean Barrett
92bd7a49a8
emscripten needs explicit alloca as well
ago%!(EXTRA string=9 years)
Sean Barrett
75c5908f95
fix includes for linux alloca
ago%!(EXTRA string=9 years)
Jörn Heusipp
aeba55604a
stb_vorbis: Fix memory leak in start_decoder().
ago%!(EXTRA string=9 years)
Jörn Heusipp
0e3506d7d1
stb_vorbis: Fix memory leak in start_decoder().
ago%!(EXTRA string=9 years)
Jörn Heusipp
0985e89335
stb_vorbis: Fix memory leak in decode_residue() and inverse_mdct() when redefining temp_alloc() and temp_free()
...
temp_alloc() and temp_free() are documented as customization points in section "MEMORY ALLOCATION" (stb_vorbis.c:81).
However, in decode_residue() and inverse_mdct() (via temp_block_array() and temp_alloc() respectively), stb_vorbis allocates temporary memory but does not call temp_free() when finished. It does call temp_alloc_restore() though, but there is no sane way to provide an implementation thereof when using a malloc()/free()-like allocation backend.
Adding calls to temp_free() before the respective calls to temp_alloc_restore() is safe, because in case of a non-empty temp_alloc_restore() implementation, temp_free() would simply be implemented empty (the current implementation of temp_*() is fine in this regard). That way, all possible temporary memory allocation schemes (i.e. alloca(), custom provided alloc_buffer, malloc()) are handled properly.
Add the appropriate temp_free() calls.
ago%!(EXTRA string=9 years)
Thiago Goulart
5a00ce39eb
Fix a few warnings when building std_vorbis using Xcode 7.2.1
ago%!(EXTRA string=9 years)
Craig Donner
ee6978cb68
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
ago%!(EXTRA string=9 years)
Craig Donner
49b65c0873
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
ago%!(EXTRA string=9 years)
Sean Barrett
79f29bafff
fix previous stb_vorbis check-in that didn't actually compile;
...
make stb_vorbis_alloc* parameter in APIs be const
ago%!(EXTRA string=9 years)
Sean Barrett
3560e553e8
stb_vorbis version history and contributor info
ago%!(EXTRA string=9 years)
Sean Barrett
95e954c822
const correctness for pushdata API;
...
minor tweak to get_samples_interleaved documentation
ago%!(EXTRA string=9 years)
Sean Barrett
0860860af6
avoid __forceinline in mingw since their definition for C is broken;
...
dummy definitions for malloc et al (note you have to modify source to make this work though anyway);
tweak credits change;
ago%!(EXTRA string=9 years)
Sean Barrett
2b57ea95da
fixed version of removed support for CODEBOOK_SHORTS
ago%!(EXTRA string=10 years)
Sean Barrett
fe74a8c223
broken attempt at removign STB_VORBIS_CODEBOOK_FLOAT option
ago%!(EXTRA string=10 years)
Sean Barrett
bc2219e1b3
fix multiple crashes on invalid files
ago%!(EXTRA string=10 years)
Sean Barrett
bdac1d2ab4
fix two crashes in invalid files
ago%!(EXTRA string=10 years)
Sean Barrett
70b33e99f0
fix crash from invalid file
ago%!(EXTRA string=10 years)
Sean Barrett
ea88e59b5d
fix invalid handling of truncated end-of-file indicator
ago%!(EXTRA string=10 years)
Sean Barrett
69a318bdb3
fix two invalid-file crashes found by fuzz testing
ago%!(EXTRA string=10 years)
Sean Barrett
2073403a5f
fix two setup crashes found by fuzz testing
ago%!(EXTRA string=10 years)
Rohit Nirmal
35fcd0817f
stb_vorbis.c: Silence -pedantic warning.
ago%!(EXTRA string=10 years)
Sean Barrett
60939ec653
fix some more signed shifts
ago%!(EXTRA string=10 years)
Sean Barrett
a3d62dfec1
fix a few crash bugs with invalid stb_vorbis files (reported by Philip Bennefall, found using a fuzz tester)
ago%!(EXTRA string=10 years)