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
c56ae63c
Commit
c56ae63c
authored
Mar 20, 2004
by
Simon Latapie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vlm.c: little bug fix for stop command
parent
ca30e8da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
modules/control/telnet/vlm.c
modules/control/telnet/vlm.c
+15
-12
No files found.
modules/control/telnet/vlm.c
View file @
c56ae63c
...
...
@@ -1009,20 +1009,23 @@ static int vlm_MediaControl( vlm_t *vlm, vlm_media_t *media, char *psz_name, cha
{
int
i
;
input_StopThread
(
media
->
p_input
);
input_DestroyThread
(
media
->
p_input
);
vlc_object_detach
(
media
->
p_input
);
vlc_object_destroy
(
media
->
p_input
);
media
->
p_input
=
NULL
;
for
(
i
=
0
;
i
<
media
->
i_input_option
;
i
++
)
if
(
media
->
p_input
)
{
free
(
media
->
input_option
[
i
]
);
}
if
(
media
->
input_option
)
free
(
media
->
input_option
);
input_StopThread
(
media
->
p_input
);
input_DestroyThread
(
media
->
p_input
);
vlc_object_detach
(
media
->
p_input
);
vlc_object_destroy
(
media
->
p_input
);
media
->
p_input
=
NULL
;
media
->
input_option
=
NULL
;
media
->
i_input_option
=
0
;
for
(
i
=
0
;
i
<
media
->
i_input_option
;
i
++
)
{
free
(
media
->
input_option
[
i
]
);
}
if
(
media
->
input_option
)
free
(
media
->
input_option
);
media
->
input_option
=
NULL
;
media
->
i_input_option
=
0
;
}
return
0
;
}
...
...
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