shithub: openh264

Download patch

ref: 110bd4184f35fe13f0320a0b6ae44276c4415c03
parent: 42cc716395778244d07ad2dff278bccc4ed46b07
parent: d69b2faa9f181f3d401d238cd3a404e6704bcb4c
author: huili2 <[email protected]>
date: Thu Feb 20 10:24:44 EST 2014

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

fix the crash issues by changing the type of iMbWidth & iMbHeight.

--- a/codec/decoder/core/inc/decoder_context.h
+++ b/codec/decoder/core/inc/decoder_context.h
@@ -215,8 +215,8 @@
     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;