From d69b2faa9f181f3d401d238cd3a404e6704bcb4c Mon Sep 17 00:00:00 2001 From: Licai Guo Date: Wed, 19 Feb 2014 23:06:35 -0800 Subject: [PATCH] fix the crash issues by changing the type iMbWidth & iMbHeight. --- codec/decoder/core/inc/decoder_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec/decoder/core/inc/decoder_context.h b/codec/decoder/core/inc/decoder_context.h index 3a822db1..3a789fb4 100644 --- a/codec/decoder/core/inc/decoder_context.h +++ b/codec/decoder/core/inc/decoder_context.h @@ -215,8 +215,8 @@ typedef struct TagWelsDecoderContext { int32_t* pSliceIdc[LAYER_NUM_EXCHANGEABLE]; // using int32_t for slice_idc int8_t* pResidualPredFlag[LAYER_NUM_EXCHANGEABLE]; int8_t* pInterPredictionDoneFlag[LAYER_NUM_EXCHANGEABLE]; - int16_t iMbWidth; - int16_t iMbHeight; + uint32_t iMbWidth; + uint32_t iMbHeight; } sMb;