shithub: openh264

Download patch

ref: d69b2faa9f181f3d401d238cd3a404e6704bcb4c
parent: 42cc716395778244d07ad2dff278bccc4ed46b07
author: Licai Guo <[email protected]>
date: Wed Feb 19 18:06:35 EST 2014

fix the crash issues by changing the type 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;