[vlc-devel] commit: RTP: fix parsing IPv6 addresses ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Sep 26 16:58:11 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Sep 26 18:01:25 2008 +0300| [cf2384ecddd3e47223d8cc1dc29c0ef60d0aab06] | committer: Rémi Denis-Courmont
RTP: fix parsing IPv6 addresses
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf2384ecddd3e47223d8cc1dc29c0ef60d0aab06
---
modules/demux/rtp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/rtp.c b/modules/demux/rtp.c
index df802b2..5978918 100644
--- a/modules/demux/rtp.c
+++ b/modules/demux/rtp.c
@@ -306,7 +306,7 @@ static int extract_port (char **phost)
if (host[0] == '[')
{
- host = *++phost; /* skip '[' */
+ host = ++*phost; /* skip '[' */
port = strchr (host, ']');
if (port)
*port++ = '\0'; /* skip ']' */
More information about the vlc-devel
mailing list