quartz: Properly set a parameter by reference in Parser_OutputPin_DecideAllocator.
Gerald Pfeifer
gerald at pfeifer.com
Mon Apr 4 17:48:01 CDT 2011
pAlloc is declared as a paremeter **pAlloc and not used anywhere else,
so the current pAlloc = NULL is just dead code.
Gerald
---
dlls/quartz/parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/parser.c b/dlls/quartz/parser.c
index 354d78f..9d7baa0 100644
--- a/dlls/quartz/parser.c
+++ b/dlls/quartz/parser.c
@@ -582,7 +582,7 @@ static HRESULT WINAPI Parser_OutputPin_DecideAllocator(BaseOutputPin *iface, IMe
Parser_OutputPin *This = (Parser_OutputPin *)iface;
HRESULT hr;
- pAlloc = NULL;
+ *pAlloc = NULL;
if (This->alloc)
hr = IMemInputPin_NotifyAllocator(pPin, This->alloc, This->readonly);
--
1.7.4.1
More information about the wine-patches
mailing list