shithub: openh264

Download patch

ref: af2666fde3aeffdae492c3c078e025ca09ca30e0
parent: 322ce39e98405aba62fd04795f6fda77395594cc
author: Martin Storsjö <martin@martin.st>
date: Fri May 30 07:32:42 EDT 2014

Initialize a variable to avoid warnings about possibly uninitialized use

--- a/test/decoder/DecUT_PredMv.cpp
+++ b/test/decoder/DecUT_PredMv.cpp
@@ -272,7 +272,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;