anyrtcIO-Community / anyRTC-RTMP-OpenSource

RTMP 推流器,RTMP(HLS)秒开播放器,直播点播,跨平台(Win,IOS,Android)开源代码
https://www.anyrtc.io
GNU General Public License v3.0
4.68k stars 1.61k forks source link

播放流结束时,出现偶现崩溃问题 #108

Open TravelWind opened 5 years ago

TravelWind commented 5 years ago

x0675D285 处(位于 VideoCenter.exe 中)引发的异常: 0xC0000005: 执行位置 0x0675D285 时发生访问冲突。 定位到 h264_decoder_impl.cc 383行 377| VideoFrame cropped_frame( 378| cropped_buf, video_frame->timestamp(), video_frame->render_time_ms(), 379| video_frame->rotation()); 380| // TODO(nisse): Timestamp and rotation are all zero here. Change decoder 381| // interface to pass a VideoFrameBuffer instead of a VideoFrame? 382| ret = decoded_imagecallback->Decoded(cropped_frame);

383| } else {

384| // Return decoded frame. 385| ret = decoded_imagecallback->Decoded(*video_frame); 386| } 387| // Stop referencing it, possibly freeing |video_frame|. 388| av_frame_unref(avframe.get()); 389| video_frame = nullptr;