Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
136c1c20
Commit
136c1c20
authored
Aug 03, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/announce.c: \r\n for SDP
parent
cefad26a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
modules/stream_out/announce.c
modules/stream_out/announce.c
+15
-15
No files found.
modules/stream_out/announce.c
View file @
136c1c20
...
...
@@ -94,14 +94,14 @@ char * SDPGenerateUDP(char * psz_name_arg,char * psz_url_arg)
p_url
->
i_port
=
DEFAULT_PORT
;
}
psz_sdp
=
malloc
(
sizeof
(
"v=0
\n
"
"o=VideoLAN 3247692199 3247895918 IN IP4 VideoLAN
\n
"
"s=
\n
"
"u=VideoLAN
\n
"
"t=0 0
\n
"
"m=video udp 33
\n
"
"c=IN IP4 /15
\n
"
"a=type:test
\n
"
)
psz_sdp
=
malloc
(
sizeof
(
"v=0
\
r\
n
"
"o=VideoLAN 3247692199 3247895918 IN IP4 VideoLAN
\
r\
n
"
"s=
\
r\
n
"
"u=VideoLAN
\
r\
n
"
"t=0 0
\
r\
n
"
"m=video udp 33
\
r\
n
"
"c=IN IP4 /15
\
r\
n
"
"a=type:test
\
r\
n
"
)
+
strlen
(
psz_name_arg
)
+
20
/*lengh of a 64 bits int"*/
+
strlen
(
p_url
->
psz_host
)
+
1
);
...
...
@@ -112,13 +112,13 @@ char * SDPGenerateUDP(char * psz_name_arg,char * psz_url_arg)
return
NULL
;
}
sprintf
(
psz_sdp
,
"v=0
\n
"
"o=VideoLAN 3247692199 3247895918 IN IP4 VideoLAN
\n
"
"s=%s
\n
"
"u=VideoLAN
\n
"
"t=0 0
\n
"
"m=video %i udp 33
\n
"
"c=IN IP4 %s/15
\n
"
sprintf
(
psz_sdp
,
"v=0
\
r\
n
"
"o=VideoLAN 3247692199 3247895918 IN IP4 VideoLAN
\
r\
n
"
"s=%s
\
r\
n
"
"u=VideoLAN
\
r\
n
"
"t=0 0
\
r\
n
"
"m=video %i udp 33
\
r\
n
"
"c=IN IP4 %s/15
\
r\
n
"
"a=type:test
\n
"
,
psz_name_arg
,
p_url
->
i_port
,
p_url
->
psz_host
);
...
...
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