[vlc-commits] rtp: fix dynamic payload setting

Pierre Ynard git at videolan.org
Tue Jan 24 02:19:29 CET 2017


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

rtp: fix dynamic payload setting

(cherry picked from commit c3c67b2cd75a439bfa47bab6601d5196a61222d1)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

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

 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 455c0e8..c5620e9 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -744,6 +744,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