From 0c5fce0e3bcd4780c05e74e71fe1c33e6480ffca Mon Sep 17 00:00:00 2001 From: chenshijun <chenshijun@aiotlink.com> Date: 星期四, 21 三月 2019 16:34:57 +0800 Subject: [PATCH] Yolo内存泄漏 --- QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp index e17ee5b..c99555a 100644 --- a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp +++ b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp @@ -237,8 +237,8 @@ av_init_packet(&p_this->pkt); p_this->frame = av_frame_alloc(); - unsigned int usleepTime = (1000 / p_this->m_fps) - 12; - usleepTime *= 1000; +// unsigned int usleepTime = (1000 / p_this->m_fps) - 12; +// usleepTime *= 1000; DBG("===open ok, camid: " << p_this->m_camIdx); while (p_this->m_running) { #ifdef TestCode -- Gitblit v1.8.0