mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
354 B
C++
20 lines
354 B
C++
// BranchCoder.cpp
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include "BranchCoder.h"
|
|
|
|
STDMETHODIMP CBranchConverter::Init()
|
|
{
|
|
_bufferPos = 0;
|
|
SubInit();
|
|
return S_OK;
|
|
}
|
|
|
|
STDMETHODIMP_(UInt32) CBranchConverter::Filter(Byte *data, UInt32 size)
|
|
{
|
|
UInt32 processedSize = SubFilter(data, size);
|
|
_bufferPos += processedSize;
|
|
return processedSize;
|
|
}
|