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
afd5b750
Commit
afd5b750
authored
Aug 05, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.19.18'
release v0.19.18
parents
21d747cd
2b97b124
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
NEWS
NEWS
+3
-1
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+1
-1
Manager.cxx
src/lib/nfs/Manager.cxx
+12
-0
Manager.hxx
src/lib/nfs/Manager.hxx
+4
-0
No files found.
NEWS
View file @
afd5b750
...
...
@@ -54,7 +54,7 @@ ver 0.20 (not yet released)
* update
- apply .mpdignore matches to subdirectories
ver 0.19.18 (
not yet released
)
ver 0.19.18 (
2016/08/05
)
* decoder
- ffmpeg: fix crash with older FFmpeg versions (< 3.0)
- ffmpeg: log detailed error message
...
...
@@ -65,6 +65,8 @@ ver 0.19.18 (not yet released)
- sidplay: allow building with libsidplayfp instead of libsidplay2
* output
- shout: recognize setting "encoder" instead of "encoding"
* fix memory leak after stream failure
* fix build failure with Boost 1.61
* require gcc 4.7 or newer
ver 0.19.17 (2016/07/09)
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
afd5b750
...
...
@@ -88,7 +88,7 @@ ffmpeg_init(gcc_unused const ConfigBlock &block)
return
true
;
}
#if LIBAV
FORMAT_VERSION_INT >= AV_VERSION_INT(57, 5, 0)
#if LIBAV
CODEC_VERSION_INT >= AV_VERSION_INT(57, 25, 0)
/* FFmpeg 3.1 */
gcc_pure
static
const
AVCodecParameters
&
...
...
src/lib/nfs/Manager.cxx
View file @
afd5b750
...
...
@@ -60,6 +60,18 @@ NfsManager::Compare::operator()(const ManagedConnection &a,
return
result
<
0
;
}
inline
bool
NfsManager
::
Compare
::
operator
()(
const
ManagedConnection
&
a
,
const
ManagedConnection
&
b
)
const
{
int
result
=
strcmp
(
a
.
GetServer
(),
b
.
GetServer
());
if
(
result
!=
0
)
return
result
<
0
;
result
=
strcmp
(
a
.
GetExportName
(),
b
.
GetExportName
());
return
result
<
0
;
}
NfsManager
::~
NfsManager
()
{
assert
(
GetEventLoop
().
IsInside
());
...
...
src/lib/nfs/Manager.hxx
View file @
afd5b750
...
...
@@ -64,6 +64,10 @@ class NfsManager final : IdleMonitor {
gcc_pure
bool
operator
()(
const
ManagedConnection
&
a
,
const
LookupKey
b
)
const
;
gcc_pure
bool
operator
()(
const
ManagedConnection
&
a
,
const
ManagedConnection
&
b
)
const
;
};
/**
...
...
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