[vlc-commits] demux_chained: use demux_New(), simplify
Rémi Denis-Courmont
git at videolan.org
Mon Apr 16 17:18:08 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 16 17:34:32 2018 +0300| [296d0e7b7c6b1046fb773f7829ce0a99d55cea8d] | committer: Rémi Denis-Courmont
demux_chained: use demux_New(), simplify
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=296d0e7b7c6b1046fb773f7829ce0a99d55cea8d
---
src/input/demux_chained.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/demux_chained.c b/src/input/demux_chained.c
index 9c9f96bd14..1c1e539329 100644
--- a/src/input/demux_chained.c
+++ b/src/input/demux_chained.c
@@ -53,8 +53,8 @@ struct vlc_demux_chained_t
static void *vlc_demux_chained_Thread(void *data)
{
vlc_demux_chained_t *dc = data;
- demux_t *demux = demux_NewAdvanced(VLC_OBJECT(dc->fifo), NULL, "",
- dc->name, "", dc->fifo, dc->out, false);
+ demux_t *demux = demux_New(VLC_OBJECT(dc->fifo), dc->name, dc->fifo,
+ dc->out);
if (demux == NULL)
{
vlc_stream_Delete(dc->fifo);
More information about the vlc-commits
mailing list