Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f5cb6357
Commit
f5cb6357
authored
Mar 15, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMS: fix previous commit
/me stoopid
parent
e1b2c3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+3
-3
No files found.
modules/access/mms/mmstu.c
View file @
f5cb6357
...
@@ -532,7 +532,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -532,7 +532,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
var_buffer_initwrite
(
&
buffer
,
0
);
var_buffer_initwrite
(
&
buffer
,
0
);
var_buffer_add16
(
&
buffer
,
0x001c
);
var_buffer_add16
(
&
buffer
,
0x001c
);
var_buffer_add16
(
&
buffer
,
0x0003
);
var_buffer_add16
(
&
buffer
,
0x0003
);
if
(
asprintf
(
tmp
,
if
(
asprintf
(
&
tmp
,
"NSPlayer/7.0.0.1956; {"
GUID_FMT
"}; Host: %s"
,
"NSPlayer/7.0.0.1956; {"
GUID_FMT
"}; Host: %s"
,
GUID_PRINT
(
p_sys
->
guid
),
GUID_PRINT
(
p_sys
->
guid
),
p_url
->
psz_host
)
<
0
)
p_url
->
psz_host
)
<
0
)
...
@@ -596,7 +596,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -596,7 +596,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
var_buffer_add32
(
&
buffer
,
0x00000002
);
var_buffer_add32
(
&
buffer
,
0x00000002
);
if
(
b_udp
)
if
(
b_udp
)
{
{
if
(
asprintf
(
tmp
,
if
(
asprintf
(
&
tmp
,
"
\\\\
%s
\\
UDP
\\
%d"
,
"
\\\\
%s
\\
UDP
\\
%d"
,
p_sys
->
sz_bind_addr
,
p_sys
->
sz_bind_addr
,
7000
)
<
0
)
// FIXME
7000
)
<
0
)
// FIXME
...
@@ -608,7 +608,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -608,7 +608,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
}
}
else
else
{
{
if
(
asprintf
(
tmp
,
"
\\\\
192.168.0.1
\\
TCP
\\
1242"
)
<
0
)
if
(
asprintf
(
&
tmp
,
"
\\\\
192.168.0.1
\\
TCP
\\
1242"
)
<
0
)
{
{
var_buffer_free
(
&
buffer
);
var_buffer_free
(
&
buffer
);
MMSClose
(
p_access
);
MMSClose
(
p_access
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment