AVFormatContext* m_pFormatCtx;
AVCodecContext * m_pCodecCtx;
AVCodec* m_pCodec;
AVFrame* m_pFrame;
AVPacket m_AVPkt;
// 注册库
av_register_all();
avformat_network_init();
//打开文件或者是网络串流
avformat_open_input(&m_pFormatCtx,pcURL,NULL,NULL);
/***************************************************************************************/
在函数avformat_open_input函数中,我们解析错误的网络缠流会出现函数长时间不返回的现象
要解决