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:
commit
110bd4184f
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user