浏览代码

get rid of c++11 stuff

tags/v1.12.90
Vladimir Sukhonosov 2 年前
父节点
当前提交
44f9a4d038
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      common/rfb/H264Decoder.cxx
  2. 1
    1
      common/rfb/H264DecoderContext.h

+ 2
- 2
common/rfb/H264Decoder.cxx 查看文件

@@ -115,8 +115,8 @@ void H264Decoder::decodeRect(const Rect& r, const void* buffer,
os::AutoMutex lock(&mutex);
if (contexts.size() >= MAX_H264_INSTANCES)
{
auto excecc_ctx = contexts.front();
delete excecc_ctx;
H264DecoderContext* excess_ctx = contexts.front();
delete excess_ctx;
contexts.pop_front();
}
ctx = H264DecoderContext::createContext(r);

+ 1
- 1
common/rfb/H264DecoderContext.h 查看文件

@@ -42,7 +42,7 @@ namespace rfb {
protected:
os::Mutex mutex;
rfb::Rect rect;
bool initialized = false;
bool initialized;

H264DecoderContext(const Rect &r) : rect(r) { initialized = false; }


正在加载...
取消
保存