[vlc-commits] blendbench: fix the order of parameters when calling filter_Blend

Steve Lhomme git at videolan.org
Fri Oct 9 13:41:13 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Oct  9 09:38:36 2020 +0200| [408f71a3eb8e2cc8ddbf44a2b0567aa51d3d9abe] | committer: Steve Lhomme

blendbench: fix the order of parameters when calling filter_Blend

The pointer to int conversion (and vice versa) only causes a warning.

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

 modules/video_filter/blendbench.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/blendbench.c b/modules/video_filter/blendbench.c
index ce45124968..105d0c035c 100644
--- a/modules/video_filter/blendbench.c
+++ b/modules/video_filter/blendbench.c
@@ -258,8 +258,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     vlc_tick_t time = vlc_tick_now();
     for( int i_iter = 0; i_iter < p_sys->i_loops; ++i_iter )
     {
-        filter_Blend( p_blend, p_sys->p_base_image, p_sys->p_blend_image,
-                      0, 0, p_sys->i_alpha );
+        filter_Blend( p_blend, p_sys->p_base_image,
+                      0, 0, p_sys->p_blend_image, p_sys->i_alpha );
     }
     time = vlc_tick_now() - time;
 



More information about the vlc-commits mailing list