History

Remove the WELSAPI definition

There's no need to specify a custom calling convention for these functions.

Martin Storsjö committed 12 years ago

Commit 19efc591 parent 45a8e603 files · +8 −14Browse files

Showing the changes to codec/processing/src (1 of 3 files). Show all

Unified · Split

codec/processing/src/common/WelsFrameWork.cpp+2−2
@@ -43,7 +43,7 @@ · 42 unmodified lines
43 43
44/* interface API implement */44/* interface API implement */
45 45
46EResult WELSAPI CreateVpInterface (void** ppCtx, int iVersion) {46EResult CreateVpInterface (void** ppCtx, int iVersion) {
47 if (iVersion & 0x8000)47 if (iVersion & 0x8000)
48 return nsWelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx);48 return nsWelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx);
49 else if (iVersion & 0x7fff)49 else if (iVersion & 0x7fff)
@@ -52,7 +52,7 @@ EResult WELSAPI CreateVpInterface (void** ppCtx, int iVersion) { · 2 unmodified lines
52 return RET_INVALIDPARAM;52 return RET_INVALIDPARAM;
53}53}
54 54
55EResult WELSAPI DestroyVpInterface (void* pCtx, int iVersion) {55EResult DestroyVpInterface (void* pCtx, int iVersion) {
56 if (iVersion & 0x8000)56 if (iVersion & 0x8000)
57 return nsWelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx);57 return nsWelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx);
58 else if (iVersion & 0x7fff)58 else if (iVersion & 0x7fff)

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