1// Copyright 2014 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "core/fxcodec/jbig2/JBig2_Segment.h"
8
9#include "core/fxcrt/fx_memory.h"
10
11CJBig2_Segment::CJBig2_Segment()
12    : m_dwNumber(0),
13      m_nReferred_to_segment_count(0),
14      m_dwPage_association(0),
15      m_dwData_length(0),
16      m_dwHeader_Length(0),
17      m_dwObjNum(0),
18      m_dwDataOffset(0),
19      m_State(JBIG2_SEGMENT_HEADER_UNPARSED),
20      m_nResultType(JBIG2_VOID_POINTER) {
21  m_cFlags.c = 0;
22}
23
24CJBig2_Segment::~CJBig2_Segment() {}
25