quartz: Remove variable keyframe which is not really used from AVISplitter_next_request.

This commit is contained in:
Gerald Pfeifer 2010-05-08 01:00:51 +02:00 committed by Alexandre Julliard
parent 3a88623553
commit af72df259e

View File

@ -206,7 +206,6 @@ static HRESULT AVISplitter_next_request(AVISplitterImpl *This, DWORD streamnumbe
{ {
DWORD flags = This->oldindex->aIndex[stream->pos].dwFlags; DWORD flags = This->oldindex->aIndex[stream->pos].dwFlags;
DWORD size = This->oldindex->aIndex[stream->pos].dwSize; DWORD size = This->oldindex->aIndex[stream->pos].dwSize;
BOOL keyframe;
/* End of file */ /* End of file */
if (stream->index) if (stream->index)
@ -216,8 +215,6 @@ static HRESULT AVISplitter_next_request(AVISplitterImpl *This, DWORD streamnumbe
return S_FALSE; return S_FALSE;
} }
keyframe = !!(flags & AVIIF_KEYFRAME);
rtSampleStart = MEDIATIME_FROM_BYTES(This->offset); rtSampleStart = MEDIATIME_FROM_BYTES(This->offset);
rtSampleStart += MEDIATIME_FROM_BYTES(This->oldindex->aIndex[stream->pos].dwOffset); rtSampleStart += MEDIATIME_FROM_BYTES(This->oldindex->aIndex[stream->pos].dwOffset);
rtSampleStop = rtSampleStart + MEDIATIME_FROM_BYTES(size); rtSampleStop = rtSampleStart + MEDIATIME_FROM_BYTES(size);