delete 的时候出错
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;
}