Commit b78dcbf2 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/videorenderer: Remove some dead code.

parent 0af83468
...@@ -149,7 +149,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa ...@@ -149,7 +149,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
const AM_MEDIA_TYPE *mt = &filter->renderer.sink.pin.mt; const AM_MEDIA_TYPE *mt = &filter->renderer.sink.pin.mt;
LPBYTE pbSrcStream = NULL; LPBYTE pbSrcStream = NULL;
BITMAPINFOHEADER *bih; BITMAPINFOHEADER *bih;
LONG cbSrcStream = 0;
HRESULT hr; HRESULT hr;
HDC dc; HDC dc;
...@@ -162,23 +161,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa ...@@ -162,23 +161,6 @@ static HRESULT WINAPI VideoRenderer_DoRenderSample(struct strmbase_renderer *ifa
return hr; 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)) if (IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo))
bih = &((VIDEOINFOHEADER *)mt->pbFormat)->bmiHeader; bih = &((VIDEOINFOHEADER *)mt->pbFormat)->bmiHeader;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment