派生自 development/c++

pansen
2019-03-08 038e3f8cd59be20f4472b5d52b775137ad8d322e
修改崩溃bug
1个文件已修改
4 ■■■■ 已修改文件
QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.cpp
@@ -144,8 +144,8 @@
void BASICGB28181::FFmpegDecoderJPG::BareFlowDecoderThd(FFmpegDecoderJPG *p_this) {
    DBG(p_this->m_camIdx << "  BareFlowDecoderThd ok ... gpuIdx is " << p_this->m_gpuIdx);
    p_this->m_running = true;
    av_register_all();
    avformat_network_init();
//    av_register_all();
//    avformat_network_init();
    p_this->ic = avformat_alloc_context();
    p_this->iobuffer = (unsigned char *) av_malloc(p_this->m_buf_size);