修复一处codoc值未捕获导致的崩溃
This commit is contained in:
parent
d8c234283b
commit
958c8b7166
|
|
@ -21,7 +21,7 @@
|
|||
# SOFTWARE.
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.1.3)
|
||||
|
||||
# 加载自定义模块
|
||||
# Load custom modules
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ void DecoderImp::onDecode(int stream, int codecid, int flags, int64_t pts, int64
|
|||
onFrame(stream, frame);
|
||||
return;
|
||||
}
|
||||
ref.second.inputFrame(frame, [&](uint64_t dts, uint64_t pts, const Buffer::Ptr &buffer, bool) {
|
||||
ref.second.inputFrame(frame, [&,codec](uint64_t dts, uint64_t pts, const Buffer::Ptr &buffer, bool) {
|
||||
onFrame(stream, Factory::getFrameFromBuffer(codec, buffer, dts, pts));
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue