[vlc-commits] splitter: make p_sys a void pointer

Rémi Denis-Courmont git at videolan.org
Wed Dec 26 20:56:15 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 26 18:58:05 2018 +0200| [0401cdc4fe3d1b3a29f7567ae62e62e5c7a2c223] | committer: Rémi Denis-Courmont

splitter: make p_sys a void pointer

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

 include/vlc_video_splitter.h       | 3 +--
 modules/video_splitter/panoramix.c | 4 ++--
 modules/video_splitter/wall.c      | 4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/include/vlc_video_splitter.h b/include/vlc_video_splitter.h
index 9d2a603249..8707654a3f 100644
--- a/include/vlc_video_splitter.h
+++ b/include/vlc_video_splitter.h
@@ -35,7 +35,6 @@
  */
 
 typedef struct video_splitter_t video_splitter_t;
-typedef struct video_splitter_sys_t video_splitter_sys_t;
 typedef struct video_splitter_owner_t video_splitter_owner_t;
 
 /** Structure describing a video splitter output properties
@@ -98,7 +97,7 @@ struct video_splitter_t
                                   int i_index,
                                   const vlc_mouse_t *p_old, const vlc_mouse_t *p_new );
 
-    video_splitter_sys_t *p_sys;
+    void *p_sys;
 
     /* Buffer allocation */
     int  (*pf_picture_new) ( video_splitter_t *, picture_t *pp_picture[] );
diff --git a/modules/video_splitter/panoramix.c b/modules/video_splitter/panoramix.c
index e4d77b5423..9d122b679c 100644
--- a/modules/video_splitter/panoramix.c
+++ b/modules/video_splitter/panoramix.c
@@ -271,7 +271,7 @@ typedef struct
 
 } panoramix_chroma_t;
 
-struct video_splitter_sys_t
+typedef struct
 {
     const panoramix_chroma_t *p_chroma;
 
@@ -293,7 +293,7 @@ struct video_splitter_sys_t
     int i_col;
     int i_row;
     panoramix_output_t pp_output[COL_MAX][ROW_MAX]; /* [x][y] */
-};
+} video_splitter_sys_t;
 
 /* */
 static int Filter( video_splitter_t *, picture_t *pp_dst[], picture_t * );
diff --git a/modules/video_splitter/wall.c b/modules/video_splitter/wall.c
index a73cbca706..84360665f2 100644
--- a/modules/video_splitter/wall.c
+++ b/modules/video_splitter/wall.c
@@ -99,13 +99,13 @@ typedef struct
     int  i_top;
 } wall_output_t;
 
-struct video_splitter_sys_t
+typedef struct
 {
     int           i_col;
     int           i_row;
     int           i_output;
     wall_output_t pp_output[COL_MAX][ROW_MAX]; /* [x][y] */
-};
+} video_splitter_sys_t;
 
 static int Filter( video_splitter_t *, picture_t *pp_dst[], picture_t * );
 static int Mouse( video_splitter_t *, vlc_mouse_t *,



More information about the vlc-commits mailing list