mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
decklink: initialize priv to NULL
While the code that creates the object sets priv to some existing pointer after new, this ensures any future new not doing this will hit the various priv!=NULL asserts in the code. Coverity 1139935
This commit is contained in:
parent
744c58d71b
commit
c78edf5afc
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
static BMDTimecodeFormat g_timecodeFormat = (BMDTimecodeFormat) 0;
|
||||
|
||||
DeckLinkCaptureDelegate::DeckLinkCaptureDelegate ():m_refCount (0)
|
||||
DeckLinkCaptureDelegate::DeckLinkCaptureDelegate ():priv (NULL), m_refCount (0)
|
||||
{
|
||||
g_mutex_init (&m_mutex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue