[vlc-commits] rtp input: fix dynamic payload handling

Pierre Ynard git at videolan.org
Sun May 15 21:44:22 CEST 2011


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun May 15 21:42:42 2011 +0200| [3740a564245c6eff1c27027a3a273f3ee8ed3fdf] | committer: Pierre Ynard

rtp input: fix dynamic payload handling

Oops sorry

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

 modules/access/rtp/rtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 15ea634..600645e 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -712,7 +712,7 @@ int rtp_autodetect (demux_t *demux, rtp_session_t *session,
         {
             char *dynamic = var_InheritString(demux, "rtp-dynamic-pt");
             if (dynamic == NULL)
-                ;
+                return -1;
             else if (!strcmp(dynamic, "theora"))
             {
                 msg_Dbg (demux, "assuming Theora Encoded Video");



More information about the vlc-commits mailing list