[vlc-commits] evas: remove redundant cast

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:51:14 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:43:17 2017 +0300| [4af4156c0678532339a0e090666c0e2abdaacc3e] | committer: Rémi Denis-Courmont

evas: remove redundant cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4af4156c0678532339a0e090666c0e2abdaacc3e
---

 modules/video_output/evas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/evas.c b/modules/video_output/evas.c
index 213fdf75b9..11631480c2 100644
--- a/modules/video_output/evas.c
+++ b/modules/video_output/evas.c
@@ -750,7 +750,7 @@ Control( vout_display_t *vd, int i_query, va_list ap )
 
         msg_Dbg( vd, "VOUT_DISPLAY_CHANGE_SOURCE_ASPECT" );
 
-        p_source = (const video_format_t *)va_arg( ap, const video_format_t * );
+        p_source = va_arg( ap, const video_format_t * );
 
         video_format_ApplyRotation( &fmt, p_source );
         vout_display_PlacePicture( &place, &fmt, vd->cfg, false );



More information about the vlc-commits mailing list