[vlc-commits] access: decklink: fix build due to sys changes
Francois Cartegnie
git at videolan.org
Mon Dec 4 15:21:31 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec 4 13:40:15 2017 +0100| [c0f1f40ec598146ed13fd5b5d1f7e5e981f4b9fd] | committer: Francois Cartegnie
access: decklink: fix build due to sys changes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0f1f40ec598146ed13fd5b5d1f7e5e981f4b9fd
---
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 d9d059da87..4acfffd089 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -247,7 +247,7 @@ public:
virtual HRESULT STDMETHODCALLTYPE VideoInputFormatChanged(BMDVideoInputFormatChangedEvents events, IDeckLinkDisplayMode *mode, BMDDetectedVideoInputFormatFlags flags)
{
- demux_sys_t *sys = demux_->p_sys;
+ demux_sys_t *sys = static_cast<demux_sys_t *>(demux_->p_sys);
if( !(events & bmdVideoInputDisplayModeChanged ))
return S_OK;
@@ -296,7 +296,7 @@ private:
HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame* videoFrame, IDeckLinkAudioInputPacket* audioFrame)
{
- demux_sys_t *sys = demux_->p_sys;
+ demux_sys_t *sys = static_cast<demux_sys_t *>(demux_->p_sys);
if (videoFrame) {
if (videoFrame->GetFlags() & bmdFrameHasNoInputSource) {
More information about the vlc-commits
mailing list