[vlc-commits] rtp: fix dynamic payload setting

Pierre Ynard git at videolan.org
Tue Jan 24 02:15:57 CET 2017


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Jan 24 02:15:27 2017 +0100| [c3c67b2cd75a439bfa47bab6601d5196a61222d1] | committer: Pierre Ynard

rtp: fix dynamic payload setting

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

 modules/access/rtp/rtp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index fa117fa..8217487 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -750,6 +750,9 @@ void rtp_autodetect (demux_t *demux, rtp_session_t *session,
                 pt.destroy = xiph_destroy;
                 pt.decode = xiph_decode;
                 pt.frequency = 90000;
+
+                free (dynamic);
+                break;
             }
             else
                 msg_Err (demux, "unknown dynamic payload format `%s' "



More information about the vlc-commits mailing list