[vlc-devel] [vlc-commits] demux: make p_sys void * (refs #18504, #17078)

Steve Lhomme robux4 at gmail.com
Mon Dec 4 08:31:04 CET 2017


On Sun, Dec 3, 2017 at 4:58 PM, Rémi Denis-Courmont <git at videolan.org> wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec  3 17:54:47 2017 +0200| [d1f94520de68ced8ded5b622c8fb94ca4e7f49cf] | committer: Rémi Denis-Courmont
>
> demux: make p_sys void * (refs #18504, #17078)
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1f94520de68ced8ded5b622c8fb94ca4e7f49cf
> ---
>
>  include/vlc_demux.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/vlc_demux.h b/include/vlc_demux.h
> index c305e8ccd3..fda7cecff5 100644
> --- a/include/vlc_demux.h
> +++ b/include/vlc_demux.h
> @@ -88,7 +88,7 @@ struct demux_t
>          unsigned int i_update;  /* Demux sets them on change,
>                                     Input removes them once take into account*/
>      } info;
> -    demux_sys_t *p_sys;
> +    void *p_sys;

I don't see the improvement. I can see a major PITA to use it now.

>      /* Weak link to parent input */
>      input_thread_t *p_input;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


More information about the vlc-devel mailing list