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
9c991226
Commit
9c991226
authored
Jun 01, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vod_rtsp: fix scope of variables
parent
6c00c0fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/misc/rtsp.c
modules/misc/rtsp.c
+2
-3
No files found.
modules/misc/rtsp.c
View file @
9c991226
...
@@ -334,8 +334,6 @@ static void Close( vlc_object_t * p_this )
...
@@ -334,8 +334,6 @@ static void Close( vlc_object_t * p_this )
{
{
vod_t
*
p_vod
=
(
vod_t
*
)
p_this
;
vod_t
*
p_vod
=
(
vod_t
*
)
p_this
;
vod_sys_t
*
p_sys
=
p_vod
->
p_sys
;
vod_sys_t
*
p_sys
=
p_vod
->
p_sys
;
block_t
*
p_block_cmd
;
rtsp_cmd_t
cmd
;
/* Stop command thread */
/* Stop command thread */
vlc_object_kill
(
p_vod
);
vlc_object_kill
(
p_vod
);
...
@@ -344,7 +342,8 @@ static void Close( vlc_object_t * p_this )
...
@@ -344,7 +342,8 @@ static void Close( vlc_object_t * p_this )
while
(
block_FifoCount
(
p_sys
->
p_fifo_cmd
)
>
0
)
while
(
block_FifoCount
(
p_sys
->
p_fifo_cmd
)
>
0
)
{
{
p_block_cmd
=
block_FifoGet
(
p_sys
->
p_fifo_cmd
);
rtsp_cmd_t
cmd
;
block_t
*
p_block_cmd
=
block_FifoGet
(
p_sys
->
p_fifo_cmd
);
memcpy
(
&
cmd
,
p_block_cmd
->
p_buffer
,
sizeof
(
cmd
)
);
memcpy
(
&
cmd
,
p_block_cmd
->
p_buffer
,
sizeof
(
cmd
)
);
block_Release
(
p_block_cmd
);
block_Release
(
p_block_cmd
);
if
(
cmd
.
i_type
==
RTSP_CMD_TYPE_DEL
)
if
(
cmd
.
i_type
==
RTSP_CMD_TYPE_DEL
)
...
...
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