[vlc-commits] access: dvb: scan: remove useless VLC_OBJECT on object type
Francois Cartegnie
git at videolan.org
Thu Apr 21 20:23:55 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 20 15:04:48 2016 +0200| [ee21d0f8dce34efbfaebff9cd9dc25c8320d6f0e] | committer: Francois Cartegnie
access: dvb: scan: remove useless VLC_OBJECT on object type
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee21d0f8dce34efbfaebff9cd9dc25c8320d6f0e
---
modules/access/dvb/scan.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index a2ec09e..ce44d70 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -1540,7 +1540,7 @@ bool scan_session_Push( scan_session_t *p_scan, const uint8_t *p_packet )
if( !p_scan->p_pathandle )
return false;
- p_scan->p_pathandle->p_sys = (void *) VLC_OBJECT(p_scan->p_obj);
+ p_scan->p_pathandle->p_sys = (void *) p_scan->p_obj;
if( !dvbpsi_pat_attach( p_scan->p_pathandle, (dvbpsi_pat_callback)PATCallBack, p_scan ) )
{
dvbpsi_delete( p_scan->p_pathandle );
@@ -1559,7 +1559,7 @@ bool scan_session_Push( scan_session_t *p_scan, const uint8_t *p_packet )
if( !p_scan->p_sdthandle )
return false;
- p_scan->p_sdthandle->p_sys = (void *) VLC_OBJECT(p_scan->p_obj);
+ p_scan->p_sdthandle->p_sys = (void *) p_scan->p_obj;
if( !dvbpsi_AttachDemux( p_scan->p_sdthandle, (dvbpsi_demux_new_cb_t)PSINewTableCallBack, p_scan ) )
{
dvbpsi_delete( p_scan->p_sdthandle );
@@ -1579,7 +1579,7 @@ bool scan_session_Push( scan_session_t *p_scan, const uint8_t *p_packet )
if( !p_scan->p_nithandle )
return false;
- p_scan->p_nithandle->p_sys = (void *) VLC_OBJECT(p_scan->p_obj);
+ p_scan->p_nithandle->p_sys = (void *) p_scan->p_obj;
if( !dvbpsi_AttachDemux( p_scan->p_nithandle, (dvbpsi_demux_new_cb_t)PSINewTableCallBack, p_scan ) )
{
dvbpsi_delete( p_scan->p_nithandle );
More information about the vlc-commits
mailing list