Fixed clang warnings

This commit is contained in:
Robert Osfield
2016-06-03 09:33:47 +01:00
parent 7d7c0daa5e
commit 41ce857c93
4 changed files with 12 additions and 13 deletions

View File

@@ -15,9 +15,6 @@ namespace osgFFmpeg {
namespace
{
const double AV_SYNC_THRESHOLD = 0.01;
const double AV_NOSYNC_THRESHOLD = 10.0;
inline double clamp(const double value, const double min, const double max)
{
return (std::min)((std::max)(value, min), max);