Skip to content

Commit

Permalink
Fix #281 - Analzyer writer filter returns current position from IStre…
Browse files Browse the repository at this point in the history
…am::Seek
  • Loading branch information
mikecopperwhite committed Sep 8, 2015
1 parent f722878 commit 5da231f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/filters/analyzer/filter_analyzer_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ STDMETHODIMP CAnalyzerWriterInput::Seek(LARGE_INTEGER liDistanceToMove, DWORD dw
if (SetFilePointerEx(*m_pFile, liDistanceToMove, &newPos, dwMoveMethod) == 0)
return HRESULT_FROM_WIN32(GetLastError());

if (lpNewFilePointer)
lpNewFilePointer->QuadPart = newPos.QuadPart;

m_analyzer->AddIStreamSeek(dwOrigin, liDistanceToMove, newPos);

return S_OK;
Expand Down

0 comments on commit 5da231f

Please sign in to comment.