shithub: openh264

Download patch

ref: c0943b36f21c76eca8eb54d0d4592aefc83d6430
parent: 78376d70e176881c2feeaeab7610d4e5cb36908c
author: Martin Storsjö <martin@martin.st>
date: Mon Jul 30 09:15:12 EDT 2018

Fix use of uninitialized data in the Deblocking.WelsDeblockingMb test

--- a/test/decoder/DecUT_DeblockCommon.cpp
+++ b/test/decoder/DecUT_DeblockCommon.cpp
@@ -889,6 +889,7 @@
   // void WelsDeblockingMb (PDqLayer pCurDqLayer, PDeblockingFilter  pFilter, int32_t iBoundryFlag)
   /* Deblock one MB, calculate the Bs inside the function, only consider the intra / intra block */
   SDqLayer sDqLayer;
+  sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.eSliceType = P_SLICE;
 
   SDeblockingFilter sFilter;
   SDeblockingFunc sDBFunc;