[vlc-commits] sid: prepare for void *p_sys
Rémi Denis-Courmont
git at videolan.org
Sun Dec 3 16:58:03 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 3 17:05:50 2017 +0200| [efbe4506961c52ac0035a2c2b2ddd4019e54759a] | committer: Rémi Denis-Courmont
sid: prepare for void *p_sys
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=efbe4506961c52ac0035a2c2b2ddd4019e54759a
---
modules/demux/sid.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/demux/sid.cpp b/modules/demux/sid.cpp
index 7e156e5452..eab6976e23 100644
--- a/modules/demux/sid.cpp
+++ b/modules/demux/sid.cpp
@@ -193,7 +193,7 @@ error:
static void Close (vlc_object_t *obj)
{
demux_t *demux = (demux_t *)obj;
- demux_sys_t *sys = demux->p_sys;
+ demux_sys_t *sys = (demux_sys_t *)demux->p_sys;
delete sys->player;
delete sys->config.sidEmulation;
@@ -203,7 +203,7 @@ static void Close (vlc_object_t *obj)
static int Demux (demux_t *demux)
{
- demux_sys_t *sys = demux->p_sys;
+ demux_sys_t *sys = (demux_sys_t *)demux->p_sys;
block_t *block = block_Alloc( sys->block_size);
if (unlikely(block==NULL))
@@ -234,7 +234,7 @@ static int Demux (demux_t *demux)
static int Control (demux_t *demux, int query, va_list args)
{
- demux_sys_t *sys = demux->p_sys;
+ demux_sys_t *sys = (demux_sys_t *)demux->p_sys;
switch (query)
{
More information about the vlc-commits
mailing list