quartz: Remove unused variables.
This commit is contained in:
parent
cade59aab7
commit
17cc65a0df
|
@ -306,9 +306,8 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
|
|||
DWORD dwValueNameLen = sizeof(wszValueName) / sizeof(wszValueName[0]); /* remember this is in chars */
|
||||
DWORD dwDataLen = maxValueLen; /* remember this is in bytes */
|
||||
static const WCHAR wszSourceFilter[] = {'S','o','u','r','c','e',' ','F','i','l','t','e','r',0};
|
||||
LONG temp;
|
||||
|
||||
if ((temp = RegEnumValueW(hkeyMinor, indexValue, wszValueName, &dwValueNameLen, NULL, &dwType, (LPBYTE)wszPatternString, &dwDataLen)) != ERROR_SUCCESS)
|
||||
if (RegEnumValueW(hkeyMinor, indexValue, wszValueName, &dwValueNameLen, NULL, &dwType, (LPBYTE)wszPatternString, &dwDataLen) != ERROR_SUCCESS)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, wszPatternString);
|
||||
break;
|
||||
|
|
|
@ -207,12 +207,10 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
|
|||
{
|
||||
AM_MEDIA_TYPE amt;
|
||||
HRESULT hr = S_OK;
|
||||
DDSURFACEDESC sdesc;
|
||||
BITMAPINFOHEADER *bmiHeader;
|
||||
|
||||
TRACE("(%p)->(%p, %d)\n", This, data, size);
|
||||
|
||||
sdesc.dwSize = sizeof(sdesc);
|
||||
hr = IPin_ConnectionMediaType(&This->renderer.pInputPin->pin.IPin_iface, &amt);
|
||||
if (FAILED(hr)) {
|
||||
ERR("Unable to retrieve media type\n");
|
||||
|
|
Loading…
Reference in New Issue