summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/win/CPP/7zip/Archive/Common/CoderMixer.cpp
blob: a19f04579965f81afc3c51a8ff7f22bf5bcac7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CoderMixer.cpp

#include "StdAfx.h"

#include "CoderMixer.h"

namespace NCoderMixer {

void CCoderInfo::SetCoderInfo(const UInt64 *inSize, const UInt64 *outSize)
{
  InSizeAssigned = (inSize != 0);
  if (InSizeAssigned)
    InSizeValue = *inSize;
  OutSizeAssigned = (outSize != 0);
  if (OutSizeAssigned)
    OutSizeValue = *outSize;
}

}