release v0.19.19
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXvAb+AAoJECNuiljG20USLukP/1dWwG4U3eQllGtwmKYEuGT8 x8bFImW3zziQgzzQNos8ZyB/7Q9wFDwl90q2Shyg778sk8WgBLVdn1hLhDRyodkg iTAbnuBeX0GoQO2vZ62jY/xtsSMwCguNMbJe5Yybq+uZ2EYLQO8NWsvy/qZzZRB6 9s78IfQodN/vbKg8cJDPP1ZFvlhC+RfrOJbhwkAhh3D0xkpYjumW636ewcpD5Crk T+OT035konZEcH2hOy89tleFifo+/nosiJQXL5/RdfIVAy+rWj9HbKMT9Wlb2EO0 iqvbjfC8rAt4a15Y8l/C42m1xhLFtRvI7O5I5wH8zqwpgRfCuG21Kw49zWFQ9md/ tX2urKZC6QsvxfHx4J6ot+SFQJB/VZ1fufG1ZBTHVNp7eJ++mWE5pR79EbCLurlj x7cN1ZM7wsQfkw8MOsKr+sJqIGkU9sZSHHh3PhEkI83fEssYaAOGtkPuTqU0w/37 wHV2laFD58SOagVPbQlhIdK6MnkiTR8RvV9j6ERywLnFNMBMiI9j7ij7zoDMKjSU E60JzIR4xUPWtQg91BwM5sJdqZw7xybgNBn0rMt+6AoA0CQseAnPRxA9gstrWR1/ FYRPUzrf9brpvXEsT8R2tXcjNLNYgKzT3GxHEQj1k2MJiVe+1SztiYIi77JPLJfn MevaiCy/Ho3ZeQKygxVq =GsV+ -----END PGP SIGNATURE----- Merge tag 'v0.19.19' release v0.19.19
This commit is contained in:
commit
d0dae177cf
5
NEWS
5
NEWS
@ -54,11 +54,14 @@ ver 0.20 (not yet released)
|
|||||||
* update
|
* update
|
||||||
- apply .mpdignore matches to subdirectories
|
- apply .mpdignore matches to subdirectories
|
||||||
|
|
||||||
ver 0.19.19 (not yet released)
|
ver 0.19.19 (2016/08/23)
|
||||||
* decoder
|
* decoder
|
||||||
|
- ffmpeg: bug fix for FFmpeg 3.1 support
|
||||||
- wildmidi: support libWildMidi 0.4
|
- wildmidi: support libWildMidi 0.4
|
||||||
* output
|
* output
|
||||||
- pulse: support 32 bit, 24 bit and floating point playback
|
- pulse: support 32 bit, 24 bit and floating point playback
|
||||||
|
* support non-x86 NetBSD
|
||||||
|
* fix clang 3.9 warnings
|
||||||
|
|
||||||
ver 0.19.18 (2016/08/05)
|
ver 0.19.18 (2016/08/05)
|
||||||
* decoder
|
* decoder
|
||||||
|
@ -28,12 +28,18 @@
|
|||||||
#define GCC_VERSION 0
|
#define GCC_VERSION 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# define CLANG_VERSION GCC_MAKE_VERSION(__clang_major__, __clang_minor__, __clang_patchlevel__)
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define CLANG_VERSION 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Are we building with the specified version of gcc (not clang or any
|
* Are we building with the specified version of gcc (not clang or any
|
||||||
* other compiler) or newer?
|
* other compiler) or newer?
|
||||||
*/
|
*/
|
||||||
#define GCC_CHECK_VERSION(major, minor) \
|
#define GCC_CHECK_VERSION(major, minor) \
|
||||||
(defined(__GNUC__) && !defined(__clang__) && \
|
(CLANG_VERSION == 0 && \
|
||||||
GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
|
GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -41,18 +47,17 @@
|
|||||||
* gcc version?
|
* gcc version?
|
||||||
*/
|
*/
|
||||||
#define CLANG_OR_GCC_VERSION(major, minor) \
|
#define CLANG_OR_GCC_VERSION(major, minor) \
|
||||||
(defined(__clang__) || GCC_CHECK_VERSION(major, minor))
|
(CLANG_VERSION > 0 || GCC_CHECK_VERSION(major, minor))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Are we building with gcc (not clang or any other compiler) and a
|
* Are we building with gcc (not clang or any other compiler) and a
|
||||||
* version older than the specified one?
|
* version older than the specified one?
|
||||||
*/
|
*/
|
||||||
#define GCC_OLDER_THAN(major, minor) \
|
#define GCC_OLDER_THAN(major, minor) \
|
||||||
(defined(__GNUC__) && !defined(__clang__) && \
|
(GCC_VERSION > 0 && CLANG_VERSION == 0 && \
|
||||||
GCC_VERSION < GCC_MAKE_VERSION(major, minor, 0))
|
GCC_VERSION < GCC_MAKE_VERSION(major, minor, 0))
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
# define CLANG_VERSION GCC_MAKE_VERSION(__clang_major__, __clang_minor__, __clang_patchlevel__)
|
|
||||||
# if __clang_major__ < 3
|
# if __clang_major__ < 3
|
||||||
# error Sorry, your clang version is too old. You need at least version 3.1.
|
# error Sorry, your clang version is too old. You need at least version 3.1.
|
||||||
# endif
|
# endif
|
||||||
@ -68,8 +73,7 @@
|
|||||||
* Are we building with the specified version of clang or newer?
|
* Are we building with the specified version of clang or newer?
|
||||||
*/
|
*/
|
||||||
#define CLANG_CHECK_VERSION(major, minor) \
|
#define CLANG_CHECK_VERSION(major, minor) \
|
||||||
(defined(__clang__) && \
|
(CLANG_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
|
||||||
CLANG_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
|
|
||||||
|
|
||||||
#if CLANG_OR_GCC_VERSION(4,0)
|
#if CLANG_OR_GCC_VERSION(4,0)
|
||||||
|
|
||||||
|
@ -653,6 +653,10 @@ FfmpegDecode(Decoder &decoder, InputStream &input,
|
|||||||
AtScopeExit(&codec_context) {
|
AtScopeExit(&codec_context) {
|
||||||
avcodec_free_context(&codec_context);
|
avcodec_free_context(&codec_context);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 25, 0) /* FFmpeg 3.1 */
|
||||||
|
avcodec_parameters_to_context(codec_context, av_stream.codecpar);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const SampleFormat sample_format =
|
const SampleFormat sample_format =
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
/* well-known big-endian */
|
/* well-known big-endian */
|
||||||
# define IS_LITTLE_ENDIAN false
|
# define IS_LITTLE_ENDIAN false
|
||||||
# define IS_BIG_ENDIAN true
|
# define IS_BIG_ENDIAN true
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__) || defined(__NetBSD__)
|
||||||
/* compile-time check for MacOS */
|
/* compile-time check for MacOS */
|
||||||
# include <machine/endian.h>
|
# include <machine/endian.h>
|
||||||
# if BYTE_ORDER == LITTLE_ENDIAN
|
# if BYTE_ORDER == LITTLE_ENDIAN
|
||||||
|
Loading…
Reference in New Issue
Block a user