http://bugs.winehq.org/show_bug.cgi?id=19854
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-08-27 10:41:09 --- The second hunk in your patch: - if (FAILED(hr)) - FIXME("o_Ox%08x\n", hr); + is unnecessary, and in fact won't do anything, right? Since if hr failed, you would already have returned.
I don't think this is the best approach, but it has some merit.
The question is, why is IMemAllocator_GetBuffer failing? And where's the accompanying release of the returned sample?