[vlc-commits] rtp: remove dead code

Rémi Denis-Courmont git at videolan.org
Sat Dec 2 22:26:49 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  2 22:57:00 2017 +0200| [afe9ede83e7adc970a2b30b83ce103e068ae4a5f] | committer: Rémi Denis-Courmont

rtp: remove dead code

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

 modules/access/rtp/rtp.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 1c4bced1a9..33b4f0c7ad 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -729,20 +729,6 @@ void rtp_autodetect (demux_t *demux, rtp_session_t *session,
         break;
 
       default:
-        /*
-         * If the rtp payload type is unknown then check demux if it is specified
-         */
-        if (!strcmp(demux->psz_demux, "h264")
-         || !strcmp(demux->psz_demux, "ts"))
-        {
-            msg_Dbg (demux, "dynamic payload format %s specified by demux",
-                     demux->psz_demux);
-            pt.init = demux_init;
-            pt.destroy = stream_destroy;
-            pt.decode = stream_decode;
-            pt.frequency = 90000;
-            break;
-        }
         if (ptype >= 96)
         {
             char *dynamic = var_InheritString(demux, "rtp-dynamic-pt");



More information about the vlc-commits mailing list