Merge tag 'v0.22.1' into master

release v0.22.1
This commit is contained in:
Max Kellermann
2020-10-17 13:58:36 +02:00
4 changed files with 17 additions and 1 deletions

2
NEWS
View File

@@ -2,7 +2,7 @@ ver 0.23 (not yet released)
* protocol
- new command "getvol"
ver 0.22.1 (not yet released)
ver 0.22.1 (2020/10/17)
* decoder
- opus: apply the OpusHead output gain even if there is no EBU R128 tag
- opus: fix track/album ReplayGain fallback

View File

@@ -429,6 +429,7 @@ libnfs = AutotoolsProject(
'--disable-utils', '--disable-examples',
],
base='libnfs-libnfs-4.0.0',
patches='src/lib/nfs/patches',
autoreconf=True,
)

View File

@@ -0,0 +1,14 @@
Index: libnfs-libnfs-4.0.0/include/win32/win32_compat.h
===================================================================
--- libnfs-libnfs-4.0.0.orig/include/win32/win32_compat.h
+++ libnfs-libnfs-4.0.0/include/win32/win32_compat.h
@@ -133,7 +133,9 @@ struct pollfd {
/* Wrapper macros to call misc. functions win32 is missing */
#define poll(x, y, z) win32_poll(x, y, z)
+#ifndef __MINGW32__
#define snprintf sprintf_s
+#endif
#define inet_pton(x,y,z) win32_inet_pton(x,y,z)
#define open(x, y, z) _open(x, y, z)
#ifndef lseek

View File

@@ -0,0 +1 @@
no_sprintf_s