summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/tcd.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-09-13 21:21:11 +0200
committerAntonin Descampe <antonin@gmail.com>2016-09-13 21:21:11 +0200
commitf66e1204523415e8936c237ce9cc759e2185708f (patch)
treeb3439d73132c65128717ad358c3de0131766df78 /src/lib/openjp2/tcd.h
parentd6d0f070e179fc195849aacd842c92f79653934f (diff)
parent8750e183c652de44d332e786842ca33182c375be (diff)
Merge branch 'bit-fields-type' of https://github.com/smuehlst/openjpeg into smuehlst-bit-fields-type
Diffstat (limited to 'src/lib/openjp2/tcd.h')
-rw-r--r--src/lib/openjp2/tcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/tcd.h b/src/lib/openjp2/tcd.h
index 77817bf6..76eff005 100644
--- a/src/lib/openjp2/tcd.h
+++ b/src/lib/openjp2/tcd.h
@@ -70,7 +70,7 @@ typedef struct opj_tcd_pass {
OPJ_UINT32 rate;
OPJ_FLOAT64 distortiondec;
OPJ_UINT32 len;
- OPJ_UINT32 term : 1;
+ OPJ_BITFIELD term : 1;
} opj_tcd_pass_t;
/**
@@ -219,7 +219,7 @@ typedef struct opj_tcd
/** current encoded/decoded tile */
OPJ_UINT32 tcd_tileno;
/** tell if the tcd is a decoder. */
- OPJ_UINT32 m_is_decoder : 1;
+ OPJ_BITFIELD m_is_decoder : 1;
/** Thread pool */
opj_thread_pool_t* thread_pool;
} opj_tcd_t;