shithub: openh264

Download patch

ref: 4d0d3d1e99715ceaab3b389e2f05304b0995daaf
parent: 07b905370ebf8f68111f7aefde5f124b07779377
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Dec 18 09:28:28 EST 2020

fix baseline (it was an uninitialized variable)

--- a/codec/decoder/core/src/decode_slice.cpp
+++ b/codec/decoder/core/src/decode_slice.cpp
@@ -1524,7 +1524,7 @@
   PSliceHeader pSliceHeader = &pSliceHeaderExt->sSliceHeader;
   int32_t iMbX, iMbY;
   const int32_t kiCountNumMb = pSliceHeader->pSps->uiTotalMbCount; //need to be correct when fmo or multi slice
-  uint32_t uiEosFlag;
+  uint32_t uiEosFlag = 0;
   PWelsDecMbFunc pDecMbFunc;
 
   pSlice->iTotalMbInCurSlice = 0; //initialize at the starting of slice decoding.