[vlc-commits] dirac: remove redundant casts
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:49:41 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:34:54 2017 +0300| [85ca73deabfff18174e9feb4429f876b13ca0825] | committer: Rémi Denis-Courmont
dirac: remove redundant casts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85ca73deabfff18174e9feb4429f876b13ca0825
---
modules/demux/dirac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/dirac.c b/modules/demux/dirac.c
index f7c0668bcd..045f8a9098 100644
--- a/modules/demux/dirac.c
+++ b/modules/demux/dirac.c
@@ -223,7 +223,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
demux_sys_t *p_sys = p_demux->p_sys;
if( DEMUX_GET_TIME == i_query )
{
- int64_t *pi64 = (int64_t*)va_arg( args, int64_t * );
+ int64_t *pi64 = va_arg( args, int64_t * );
*pi64 = p_sys->i_dts;
return VLC_SUCCESS;
}
@@ -233,7 +233,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
return VLC_EGENERIC;
}
- double *pd = (double*)va_arg( args, double * );
+ double *pd = va_arg( args, double * );
*pd = (float) p_sys->p_packetizer->fmt_out.video.i_frame_rate
/ p_sys->p_packetizer->fmt_out.video.i_frame_rate_base;
return VLC_SUCCESS;
More information about the vlc-commits
mailing list