Merge pull request #326 from licaiguo/fix-allocate-large-memory

fix the crash issues by changing the type of iMbWidth & iMbHeight.
This commit is contained in:
huili2 2014-02-20 15:24:44 +08:00
commit 110bd4184f

View File

@ -215,8 +215,8 @@ typedef struct TagWelsDecoderContext {
int32_t* pSliceIdc[LAYER_NUM_EXCHANGEABLE]; // using int32_t for slice_idc int32_t* pSliceIdc[LAYER_NUM_EXCHANGEABLE]; // using int32_t for slice_idc
int8_t* pResidualPredFlag[LAYER_NUM_EXCHANGEABLE]; int8_t* pResidualPredFlag[LAYER_NUM_EXCHANGEABLE];
int8_t* pInterPredictionDoneFlag[LAYER_NUM_EXCHANGEABLE]; int8_t* pInterPredictionDoneFlag[LAYER_NUM_EXCHANGEABLE];
int16_t iMbWidth; uint32_t iMbWidth;
int16_t iMbHeight; uint32_t iMbHeight;
} sMb; } sMb;