Commit f3bbea2f authored by Jean-Paul Saman's avatar Jean-Paul Saman

access/decklink.cpp: fix compilation

The member m_ref does not exists in DeckLinkCaptureDelegate(), it is named m_ref_.
parent 2e917cd4
......@@ -154,14 +154,14 @@ class DeckLinkCaptureDelegate : public IDeckLinkInputCallback
public:
DeckLinkCaptureDelegate(demux_t *demux) : demux_(demux)
{
atomic_store(&m_ref, 1);
atomic_store(&m_ref_, 1);
}
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, LPVOID *) { return E_NOINTERFACE; }
virtual ULONG STDMETHODCALLTYPE AddRef(void)
{
return atomic_fetch_add(&m_ref, 1);
return atomic_fetch_add(&m_ref_, 1);
}
virtual ULONG STDMETHODCALLTYPE Release(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment