delete 的时候出错

yinhui8079 yinhui8079 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
NTDLL! 7c92120e()
NTDLL! 7c97f924()
NTDLL! 7c98f247()
NTDLL! 7c98302c()
KERNEL32! 7c85f9a7()
_CrtIsValidHeapPointer(const void * 0x01b22908) line 1697
_free_dbg_lk(void * 0x01b22908, int 1) line 1044 + 9 bytes
_free_dbg(void * 0x01b22908, int 1) line 1001 + 13 bytes
operator delete(void * 0x01b22908) line 49 + 16 bytes
CMyX264Decode::`scalar deleting destructor'(unsigned int 1) + 56 bytes
VIDEO_Decode_StopDecompress(void * & 0x01b22908) line 319 + 32 bytes
HGRENDER! 00cfb64b()
HGRENDER! 00cfe6a7()
HGRENDER! 00cf60ac()
CVideoRemote::StopPreview() line 168
CMediaControl::StopRecvVideo(unsigned short 20416) line 328 + 13 byte
程序能够正常运行,但是在关闭的时候会报错 应该是是在dlete的时候出错了 有没有哪位大牛 看出为什么啊 纠结 百思不得
if( hDecoder )
{
CVideoDecoder *pDecoder = (CVideoDecoder *)hDecoder;
pDecoder->StopDecompress();
if (pDecoder)
{
delete pDecoder ;
pDecoder = NULL ;
}
/*delete pDecoder;*/
hDecoder = NULL;
}
...全文

相关推荐

评论 16
收藏 已收藏
分享
返回顶部
yinhui8079
C++ 语言 65,214 成员 250,514 内容