quartz/videorenderer: Remove some dead code.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0af834681c
commit
b78dcbf269
|
@ -149,7 +149,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
|
|||
const AM_MEDIA_TYPE *mt = &filter->renderer.sink.pin.mt;
|
||||
LPBYTE pbSrcStream = NULL;
|
||||
BITMAPINFOHEADER *bih;
|
||||
LONG cbSrcStream = 0;
|
||||
HRESULT hr;
|
||||
HDC dc;
|
||||
|
||||
|
@ -162,23 +161,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
|
|||
return hr;
|
||||
}
|
||||
|
||||
cbSrcStream = IMediaSample_GetActualDataLength(pSample);
|
||||
|
||||
TRACE("val %p %d\n", pbSrcStream, cbSrcStream);
|
||||
|
||||
#if 0 /* For debugging purpose */
|
||||
{
|
||||
int i;
|
||||
for(i = 0; i < cbSrcStream; i++)
|
||||
{
|
||||
if ((i!=0) && !(i%16))
|
||||
TRACE("\n");
|
||||
TRACE("%02x ", pbSrcStream[i]);
|
||||
}
|
||||
TRACE("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
if (IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo))
|
||||
bih = &((VIDEOINFOHEADER *)mt->pbFormat)->bmiHeader;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue