Merge tag 'v0.19.18'

release v0.19.18
This commit is contained in:
Max Kellermann
2016-08-05 18:51:38 +02:00
4 changed files with 20 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ ffmpeg_init(gcc_unused const ConfigBlock &block)
return true;
}
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 5, 0)
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 25, 0) /* FFmpeg 3.1 */
gcc_pure
static const AVCodecParameters &

View File

@@ -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());

View File

@@ -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;
};
/**