ref: f02b1f5e92ec28877702be2a4019ff6f3a4b7fce
parent: 5c889e606be64705d34cc6364c0b7fbbe97d7674
parent: c0943b36f21c76eca8eb54d0d4592aefc83d6430
author: sijchen <sijchen@cisco.com>
date: Mon Jul 30 14:54:24 EDT 2018
Merge pull request #3000 from mstorsjo/fix-uninitialized 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;