From: Mathis Rosenhauer Date: Thu, 28 Jan 2016 12:39:24 +0000 (+0100) Subject: Type changes X-Git-Tag: accepted/tizen/5.0/unified/20181102.025501~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ef1c38574f1d07ea628fc3f4b7cb65c6a89e78c;p=platform%2Fupstream%2Flibaec.git Type changes --- diff --git a/src/decode.c b/src/decode.c index b4b38e7..1a74c83 100644 --- a/src/decode.c +++ b/src/decode.c @@ -458,7 +458,7 @@ static int m_split_fs(struct aec_stream *strm) static int m_split(struct aec_stream *strm) { - uint32_t i, k; + size_t i, k; struct internal_state *state = strm->state; if (BUFFERSPACE(strm)) { @@ -654,7 +654,7 @@ static int m_uncomp_copy(struct aec_stream *strm) static int m_uncomp(struct aec_stream *strm) { - uint32_t i; + size_t i; struct internal_state *state = strm->state; if (BUFFERSPACE(strm)) { diff --git a/src/encode.c b/src/encode.c index 43a0b35..03689e1 100644 --- a/src/encode.c +++ b/src/encode.c @@ -117,7 +117,7 @@ static inline void copy64(uint8_t *dst, uint64_t src) static inline void emitblock_fs(struct aec_stream *strm, int k, int ref) { - uint32_t i; + size_t i; uint32_t used; /* used bits in 64 bit accumulator */ uint64_t acc; /* accumulator */ struct internal_state *state = strm->state; @@ -316,7 +316,7 @@ static inline uint64_t block_fs(struct aec_stream *strm, int k) Sum FS of all samples in block for given splitting position. */ - uint32_t i; + size_t i; uint64_t fs = 0; struct internal_state *state = strm->state; @@ -417,7 +417,7 @@ static uint32_t assess_se_option(struct aec_stream *strm) If length is above limit just return UINT32_MAX. */ - uint32_t i; + size_t i; uint64_t len, d; struct internal_state *state = strm->state; uint32_t *block = state->block; @@ -546,7 +546,7 @@ static int m_encode_uncomp(struct aec_stream *strm) static int m_encode_se(struct aec_stream *strm) { - uint32_t i; + size_t i; uint32_t d; struct internal_state *state = strm->state; @@ -620,7 +620,7 @@ static int m_check_zero_block(struct aec_stream *strm) end of a segment or RSI. */ - uint32_t i; + size_t i; struct internal_state *state = strm->state; uint32_t *p = state->block;