[vlc-commits] chromecast: prepare for void *p_sys
Rémi Denis-Courmont
git at videolan.org
Sun Dec 3 16:58:07 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 3 17:05:50 2017 +0200| [80efd9ab43760fdcfe9b5217b4b601223f5f4d64] | committer: Rémi Denis-Courmont
chromecast: prepare for void *p_sys
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80efd9ab43760fdcfe9b5217b4b601223f5f4d64
---
modules/stream_out/chromecast/chromecast_demux.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp b/modules/stream_out/chromecast/chromecast_demux.cpp
index 9bf9755dab..ccc9be2415 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -279,14 +279,14 @@ protected:
static int Demux( demux_t *p_demux_filter )
{
- demux_sys_t *p_sys = p_demux_filter->p_sys;
+ demux_sys_t *p_sys = (demux_sys_t *)p_demux_filter->p_sys;
return p_sys->Demux();
}
static int Control( demux_t *p_demux_filter, int i_query, va_list args)
{
- demux_sys_t *p_sys = p_demux_filter->p_sys;
+ demux_sys_t *p_sys = (demux_sys_t *)p_demux_filter->p_sys;
return p_sys->Control( p_demux_filter, i_query, args );
}
@@ -316,7 +316,7 @@ int Open(vlc_object_t *p_this)
void Close(vlc_object_t *p_this)
{
demux_t *p_demux = reinterpret_cast<demux_t*>(p_this);
- demux_sys_t *p_sys = p_demux->p_sys;
+ demux_sys_t *p_sys = (demux_sys_t *)p_demux->p_sys;
delete p_sys;
}
More information about the vlc-commits
mailing list