vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Apr 19 20:28:47 2017 +0300| [793734ab5d650ea972654cc1bc5156c526fcb069] | committer: Rémi Denis-Courmont
access_oss: remove redundant casts > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=793734ab5d650ea972654cc1bc5156c526fcb069 --- modules/access/oss.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/access/oss.c b/modules/access/oss.c index 0a7581b66c..caadb92e6b 100644 --- a/modules/access/oss.c +++ b/modules/access/oss.c @@ -214,23 +214,23 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args ) case DEMUX_CAN_PAUSE: case DEMUX_CAN_SEEK: case DEMUX_CAN_CONTROL_PACE: - pb = (bool*)va_arg( args, bool * ); + pb = va_arg( args, bool * ); *pb = false; return VLC_SUCCESS; case DEMUX_GET_PTS_DELAY: - pi64 = (int64_t*)va_arg( args, int64_t * ); + pi64 = va_arg( args, int64_t * ); *pi64 = INT64_C(1000) * var_InheritInteger( p_demux, "live-caching" ); return VLC_SUCCESS; case DEMUX_GET_TIME: - pi64 = (int64_t*)va_arg( args, int64_t * ); + pi64 = va_arg( args, int64_t * ); *pi64 = mdate(); return VLC_SUCCESS; case DEMUX_SET_NEXT_DEMUX_TIME: - p_sys->i_next_demux_date = (int64_t)va_arg( args, int64_t ); + p_sys->i_next_demux_date = va_arg( args, int64_t ); return VLC_SUCCESS; /* TODO implement others */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
