uninitialized variables-gfx

This commit is contained in:
AzaezelX 2020-05-11 15:00:25 -05:00
parent 1efb687867
commit b9c207765e
33 changed files with 108 additions and 43 deletions

View file

@ -195,6 +195,11 @@ public:
VideoEncoderTheora() :
mCurrentFrame(0), td(NULL), mLastFrame(NULL)
{
dMemset(&to, 0, sizeof(to));
dMemset(&ti, 0, sizeof(ti));
dMemset(&tc, 0, sizeof(tc));
dMemset(&mBuffer, 0, sizeof(mBuffer));
setStatus(false);
}
@ -458,4 +463,4 @@ public:
REGISTER_VIDEO_ENCODER(VideoEncoderTheora, THEORA)
#endif
#endif