Re: [PATCH 4/7] d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka)
5 Apr
2010
5 Apr
'10
10:10 a.m.
+ CoUninitialize();
You should call this function only if your original CoInitializeEx call succeeded. It may fail in a multithreaded apartment (in which case WIC won't work either, but that's a bug), and in that case the uninitialize is not needed. Also, you seem to be leaving things uninitialized if you get an unrecognized container format or pixel format. That's probably not a good policy.
5820
Age (days ago)
5820
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk