[vlc-commits] access/decklink.cpp: fix compilation
Jean-Paul Saman
git at videolan.org
Fri Feb 7 11:07:27 CET 2014
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Fri Feb 7 11:02:00 2014 +0100| [f3bbea2fbc9ebfb3119c3258636babac1b5ed9b9] | committer: Jean-Paul Saman
access/decklink.cpp: fix compilation
The member m_ref does not exists in DeckLinkCaptureDelegate(), it is named m_ref_.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3bbea2fbc9ebfb3119c3258636babac1b5ed9b9
---
modules/access/decklink.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index fd0852b..49bd350 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -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)
More information about the vlc-commits
mailing list