Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d0dae177
Commit
d0dae177
authored
Aug 23, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.19.19'
release v0.19.19
parents
e2f6cc9c
d4db8737
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
8 deletions
+19
-8
NEWS
NEWS
+4
-1
Compiler.h
src/Compiler.h
+10
-6
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+4
-0
ByteOrder.hxx
src/system/ByteOrder.hxx
+1
-1
No files found.
NEWS
View file @
d0dae177
...
...
@@ -54,11 +54,14 @@ ver 0.20 (not yet released)
* update
- apply .mpdignore matches to subdirectories
ver 0.19.19 (
not yet released
)
ver 0.19.19 (
2016/08/23
)
* decoder
- ffmpeg: bug fix for FFmpeg 3.1 support
- wildmidi: support libWildMidi 0.4
* output
- 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)
* decoder
...
...
src/Compiler.h
View file @
d0dae177
...
...
@@ -28,12 +28,18 @@
#define GCC_VERSION 0
#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
* other compiler) or newer?
*/
#define GCC_CHECK_VERSION(major, minor) \
(
defined(__GNUC__) && !defined(__clang__)
&& \
(
CLANG_VERSION == 0
&& \
GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
/**
...
...
@@ -41,18 +47,17 @@
* gcc version?
*/
#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
* version older than the specified one?
*/
#define GCC_OLDER_THAN(major, minor) \
(
defined(__GNUC__) && !defined(__clang__)
&& \
(
GCC_VERSION > 0 && CLANG_VERSION == 0
&& \
GCC_VERSION < GCC_MAKE_VERSION(major, minor, 0))
#ifdef __clang__
# define CLANG_VERSION GCC_MAKE_VERSION(__clang_major__, __clang_minor__, __clang_patchlevel__)
# if __clang_major__ < 3
# error Sorry, your clang version is too old. You need at least version 3.1.
# endif
...
...
@@ -68,8 +73,7 @@
* Are we building with the specified version of clang or newer?
*/
#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)
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
d0dae177
...
...
@@ -653,6 +653,10 @@ FfmpegDecode(Decoder &decoder, InputStream &input,
AtScopeExit
(
&
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
const
SampleFormat
sample_format
=
...
...
src/system/ByteOrder.hxx
View file @
d0dae177
...
...
@@ -42,7 +42,7 @@
/* well-known big-endian */
# define IS_LITTLE_ENDIAN false
# define IS_BIG_ENDIAN true
#elif defined(__APPLE__)
#elif defined(__APPLE__)
|| defined(__NetBSD__)
/* compile-time check for MacOS */
# include <machine/endian.h>
# if BYTE_ORDER == LITTLE_ENDIAN
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment