Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a6bddac2
Commit
a6bddac2
authored
Mar 14, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: fix crash with VoD when all tracks are not set up
parent
79621a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/stream_out/rtsp.c
modules/stream_out/rtsp.c
+1
-0
No files found.
modules/stream_out/rtsp.c
View file @
a6bddac2
...
@@ -466,6 +466,7 @@ int RtspTrackAttach( rtsp_stream_t *rtsp, const char *name,
...
@@ -466,6 +466,7 @@ int RtspTrackAttach( rtsp_stream_t *rtsp, const char *name,
vlc_rand_bytes
(
&
track
.
ssrc
,
sizeof
(
track
.
ssrc
));
vlc_rand_bytes
(
&
track
.
ssrc
,
sizeof
(
track
.
ssrc
));
INSERT_ELEM
(
session
->
trackv
,
session
->
trackc
,
session
->
trackc
,
track
);
INSERT_ELEM
(
session
->
trackv
,
session
->
trackc
,
session
->
trackc
,
track
);
tr
=
session
->
trackv
+
session
->
trackc
-
1
;
}
}
*
ssrc
=
ntohl
(
tr
->
ssrc
);
*
ssrc
=
ntohl
(
tr
->
ssrc
);
...
...
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