[vlc-commits] rtp: fix TS payload

Rafaël Carré git at videolan.org
Mon Apr 30 14:37:06 CEST 2018


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Apr 30 14:33:59 2018 +0200| [6ac07e8965b094101bc0ab3d4468492724322184] | committer: Rafaël Carré

rtp: fix TS payload

[00007f5f20000be0] main demux debug: looking for demux module matching "rtp": 55 candidates
[00007f5f20000be0] main demux debug: no demux modules matched

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

 modules/access/rtp/rtp.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 6f76485f9c..893c8bea47 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -640,12 +640,7 @@ static void mpv_decode (demux_t *demux, void *data, block_t *block)
  */
 static void *ts_init (demux_t *demux)
 {
-    char const* name = demux->psz_name;
-
-    if (*name == '\0' || !strcasecmp(name, "any"))
-        name = NULL;
-
-    return stream_init (demux, name ? name : "ts");
+    return stream_init (demux, "ts");
 }
 
 



More information about the vlc-commits mailing list