mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 11:35:42 -04:00
Initial community commit
This commit is contained in:
13
vcpkg-ports/libsndfile/fix-wavlike.patch
Normal file
13
vcpkg-ports/libsndfile/fix-wavlike.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/wavlike.c b/src/wavlike.c
|
||||
index a3388d75..cf5a7d2b 100644
|
||||
--- a/src/wavlike.c
|
||||
+++ b/src/wavlike.c
|
||||
@@ -971,7 +971,7 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length)
|
||||
else
|
||||
psf_log_printf (psf, "%M : %u\n", chunk, chunk_length) ;
|
||||
|
||||
- while (bytesread < chunk_length)
|
||||
+ while (chunk_length - bytesread >= 4)
|
||||
{ uint32_t thisread ;
|
||||
|
||||
if ((thisread = psf_binheader_readf (psf, "m", &chunk)) == 0)
|
Reference in New Issue
Block a user