[vlc-commits] filters: use void * for sys

Thomas Guillem git at videolan.org
Mon Nov 5 16:45:06 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov  5 16:42:13 2018 +0100| [49db4557d54ff62b0dae37a30705be64f31c74c3] | committer: Thomas Guillem

filters: use void * for sys

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

 src/audio_output/filters.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index 99b3a7648d..1c8955f8e5 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -43,7 +43,7 @@
 #include "aout_internal.h"
 
 static filter_t *CreateFilter (vlc_object_t *obj, const char *type,
-                               const char *name, filter_owner_sys_t *owner,
+                               const char *name, void *sys,
                                const audio_sample_format_t *infmt,
                                const audio_sample_format_t *outfmt,
                                config_chain_t *cfg, bool const_fmt)
@@ -52,7 +52,7 @@ static filter_t *CreateFilter (vlc_object_t *obj, const char *type,
     if (unlikely(filter == NULL))
         return NULL;
 
-    filter->owner.sys = owner;
+    filter->owner.sys = sys;
     filter->p_cfg = cfg;
     filter->fmt_in.audio = *infmt;
     filter->fmt_in.i_codec = infmt->i_format;



More information about the vlc-commits mailing list