Ethan HuggInitial Commit70e5e6212 years agoHistory
532 lines · 14.3 KB · C++
RawDownload
/* WINAPI is indeed in prefix due to sync to application layer callings!! */ /**	CreateDecoder*	@return:	success in return 0, otherwise failed.*/long CreateDecoder( ISVCDecoder** ppDecoder ){ 	if ( NULL == ppDecoder ){				return ERR_INVALID_PARAMETERS;	} 	*ppDecoder	= new CWelsDecoder(); 	if ( NULL == *ppDecoder ){				return ERR_MALLOC_FAILED;	}	 	return ERR_NONE;} /**	DestroyDecoder*/void_t DestroyDecoder( ISVCDecoder* pDecoder ){		if ( NULL != pDecoder ){		delete (CWelsDecoder *)pDecoder;		pDecoder = NULL;	}}

Lines 501–532 of 532. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t