From c96240f3ad699cf19d1a032a0c25381a874c35fe Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sun, 26 Mar 2017 05:25:45 +0100 Subject: [PATCH 1/2] Change required version of libav to 57.24 --- lib/StreamHandlerLibav.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StreamHandlerLibav.cpp b/lib/StreamHandlerLibav.cpp index 3a23009..0160670 100644 --- a/lib/StreamHandlerLibav.cpp +++ b/lib/StreamHandlerLibav.cpp @@ -28,7 +28,7 @@ #include "PlaYUVerFramePixelFormats.h" #include -#if( ( LIBAVCODEC_VERSION_MAJOR >= 57 ) && ( LIBAVCODEC_VERSION_MINOR >= 64 ) ) +#if( ( LIBAVCODEC_VERSION_MAJOR >= 57 ) && ( LIBAVCODEC_VERSION_MINOR >= 24 ) ) #define FF_USER_CODEC_PARAM #endif From de09cc1bb97c213665289ace701bc392e0db8db0 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Thu, 20 Apr 2017 11:41:32 +0100 Subject: [PATCH 2/2] Set c++ standard to 14 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e5c33..cd64f81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,6 +144,7 @@ SET( CMAKE_CXX_FLAGS "" ) # Configure targets ###################################################################################### +SET(CMAKE_CXX_STANDARD 14) if(CMAKE_COMPILER_IS_GNUCXX) ADD_DEFINITIONS(-std=gnu++0x) endif()