[vlc-devel] commit: Ignore unknown payload types ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jun 3 23:04:46 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jun  3 23:39:48 2008 +0300| [7e42e3223bf8b5bb8baa8477b3636cec3dcbb72a]

Ignore unknown payload types

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

 modules/demux/rtp.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/modules/demux/rtp.c b/modules/demux/rtp.c
index 9f070c8..8641e89 100644
--- a/modules/demux/rtp.c
+++ b/modules/demux/rtp.c
@@ -440,6 +440,15 @@ static int Demux (demux_t *demux)
                 pt.decode = stream_decode;
                 pt.frequency = 90000;
                 break;
+
+              case 72: /* muxed SR */
+              case 73: /* muxed RR */
+              case 74: /* muxed SDES */
+              case 75: /* muxed BYE */
+              case 76: /* muxed APP */
+              default:
+                block_Release (block); /* ooh! ignoring RTCP is evil! */
+                return 1;
             }
             rtp_add_type (demux, p_sys->session, &pt);
             p_sys->autodetect = false;




More information about the vlc-devel mailing list