Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/optionChecker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include_directories(${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR})
# Add C++11 flag
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "-std=c++0x")
elseif(NOT MSVC12)
elseif(${MSVC_VERSION} LESS 1800)
message("C++11 not supported, will not build avOptionChecker app.")
return()
endif()
Expand Down
2 changes: 1 addition & 1 deletion app/presetChecker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include_directories(${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR})
# Add C++11 flag
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "-std=c++0x")
elseif(NOT MSVC12)
elseif(${MSVC_VERSION} LESS 1800)
message("C++11 not supported, will not build avPresetChecker app.")
return()
endif()
Expand Down
2 changes: 1 addition & 1 deletion src/AvTranscoder/option/CodecContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace avtranscoder
* @brief Wrapper of an AVCodecContext.
* @note The AVCodecContext is allocated and free by the class. It is not the case of the base class.
*/
class CodecContext : public Context
class AvExport CodecContext : public Context
{
public:
CodecContext( int req_flags = 0 );
Expand Down
2 changes: 1 addition & 1 deletion src/AvTranscoder/option/Context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace avtranscoder
* @brief Wrapper of AVContext.
* Can access Options through the corresponding context.
*/
class Context
class AvExport Context
{
public:
Context() {}
Expand Down