git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdc5d0
)
RTP: fix parsing IPv6 addresses
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Fri, 26 Sep 2008 15:01:25 +0000
(18:01 +0300)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Fri, 26 Sep 2008 15:01:25 +0000
(18:01 +0300)
modules/demux/rtp.c
patch
|
blob
|
history
diff --git
a/modules/demux/rtp.c
b/modules/demux/rtp.c
index
df802b2
..
5978918
100644
(file)
--- 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 ']' */