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
60e93de0
Commit
60e93de0
authored
Jun 15, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP: need to create variables before using them
parent
7640ddc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/rtp.c
modules/demux/rtp.c
+2
-2
No files found.
modules/demux/rtp.c
View file @
60e93de0
...
...
@@ -237,7 +237,7 @@ static int Open (vlc_object_t *obj)
if
(
p_sys
->
session
==
NULL
)
goto
error
;
char
*
key
=
var_GetNonEmptyString
(
demux
,
"srtp-key"
);
char
*
key
=
var_
Create
GetNonEmptyString
(
demux
,
"srtp-key"
);
if
(
key
)
{
p_sys
->
srtp
=
srtp_create
(
SRTP_ENCR_AES_CM
,
SRTP_AUTH_HMAC_SHA1
,
10
,
...
...
@@ -248,7 +248,7 @@ static int Open (vlc_object_t *obj)
goto
error
;
}
char
*
salt
=
var_GetNonEmptyString
(
demux
,
"srtp-salt"
);
char
*
salt
=
var_
Create
GetNonEmptyString
(
demux
,
"srtp-salt"
);
errno
=
srtp_setkeystring
(
p_sys
->
srtp
,
key
,
salt
?
salt
:
""
);
free
(
salt
);
free
(
key
);
...
...
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