shithub: openh264

Download patch

ref: 8be8fe17757aa298881811b35016a06872b13228
parent: e9e332bf4c4c0997bc6efe768e64abd4d598eaa9
author: Andoni Morales Alastruey <[email protected]>
date: Tue Mar 18 03:57:01 EDT 2014

Fix compiler warning -Werror=maybe-uninitialized

--- a/codec/decoder/core/src/mv_pred.cpp
+++ b/codec/decoder/core/src/mv_pred.cpp
@@ -48,7 +48,7 @@
 
   int32_t iCurSliceIdc, iTopSliceIdc, iLeftTopSliceIdc, iRightTopSliceIdc, iLeftSliceIdc;
   int32_t iLeftTopType, iRightTopType, iTopType, iLeftType;
-  int32_t iCurX, iCurY, iCurXy, iLeftXy, iTopXy, iLeftTopXy, iRightTopXy;
+  int32_t iCurX, iCurY, iCurXy, iLeftXy, iTopXy, iLeftTopXy, iRightTopXy = 0;
 
   int8_t iLeftRef;
   int8_t iTopRef;