diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index acda195f6..363a7d153 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -1354,6 +1354,7 @@ int SrsConfig::check_config() && e != "vthreads" && e != "vprofile" && e != "vpreset" && e != "vparams" && e != "acodec" && e != "abitrate" && e != "asample_rate" && e != "achannels" && e != "aparams" && e != "output" + && e != "iformat" && e != "oformat" ) { ret = ERROR_SYSTEM_CONFIG_INVALID; srs_error("unsupported vhost transcode engine directive %s, ret=%d", e.c_str(), ret); diff --git a/trunk/src/utest/srs_utest.hpp b/trunk/src/utest/srs_utest.hpp index 44160201f..df2ee88d4 100644 --- a/trunk/src/utest/srs_utest.hpp +++ b/trunk/src/utest/srs_utest.hpp @@ -56,8 +56,6 @@ void __srs_bytes_print(char* pa, int size); class MockEmptyLog : public SrsFastLog { -private: - int _level; public: MockEmptyLog(int level); virtual ~MockEmptyLog();