Skip to content

Commit

Permalink
aenc: fix uninitialized variables (#5450)
Browse files Browse the repository at this point in the history
Co-authored-by: Miroslav Goncharenko <[email protected]>
  • Loading branch information
gfxVPLsdm and mgonchar authored Jun 30, 2023
1 parent d6f13b4 commit 421f18d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _studio/enctools/include/mfx_enctools_aenc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ class AEnc_EncTool
{
public:
AEnc_EncTool() :
m_aenc(nullptr),
m_aencPar(),
m_ptmpFrame(nullptr),
m_bInit(false)
m_bInit(false),
FrameWidth_aligned(0),
FrameHeight_aligned(0)
{
m_aencPar = {};
}
~AEnc_EncTool() { Close(); }
mfxStatus Init(mfxEncToolsCtrl const & ctrl, mfxExtEncToolsConfig const & pConfig);
Expand Down

0 comments on commit 421f18d

Please sign in to comment.