[vlc-commits] mosaic: merge declaration and assignement

Rafaël Carré git at videolan.org
Wed Feb 19 20:17:23 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 19 20:16:48 2014 +0100| [b607ed93872f3b94be75142f8ca5a0a8d853bd75] | committer: Rafaël Carré

mosaic: merge declaration and assignement

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

 modules/video_filter/mosaic.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/video_filter/mosaic.c b/modules/video_filter/mosaic.c
index c59fb39..e535e1f 100644
--- a/modules/video_filter/mosaic.c
+++ b/modules/video_filter/mosaic.c
@@ -433,8 +433,6 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     filter_sys_t *p_sys = p_filter->p_sys;
     bridge_t *p_bridge;
 
-    subpicture_t *p_spu;
-
     int i_index, i_real_index, i_row, i_col;
     int i_greatest_real_index_used = p_sys->i_order_length - 1;
 
@@ -444,7 +442,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     subpicture_region_t *p_region_prev = NULL;
 
     /* Allocate the subpicture internal data. */
-    p_spu = filter_NewSubpicture( p_filter );
+    subpicture_t *p_spu = filter_NewSubpicture( p_filter );
     if( !p_spu )
         return NULL;
 



More information about the vlc-commits mailing list