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
2b7581cd
Commit
2b7581cd
authored
Apr 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LUA: do not blindly cast object to interface thread (fix #3396)
parent
30aaaa4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/misc/lua/libs/misc.c
modules/misc/lua/libs/misc.c
+3
-4
No files found.
modules/misc/lua/libs/misc.c
View file @
2b7581cd
...
...
@@ -203,8 +203,7 @@ static int vlclua_datadir_list( lua_State *L )
*****************************************************************************/
static
int
vlclua_lock_and_wait
(
lua_State
*
L
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
vlclua_get_this
(
L
);
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
intf_sys_t
*
p_sys
=
vlclua_get_intf
(
L
);
vlc_mutex_lock
(
&
p_sys
->
lock
);
mutex_cleanup_push
(
&
p_sys
->
lock
);
...
...
@@ -230,8 +229,8 @@ static int vlclua_mwait( lua_State *L )
static
int
vlclua_intf_should_die
(
lua_State
*
L
)
{
intf_
thread_t
*
p_intf
=
(
intf_thread_t
*
)
vlclua_get_this
(
L
);
lua_pushboolean
(
L
,
p_
intf
->
p_
sys
->
exiting
);
intf_
sys_t
*
p_sys
=
vlclua_get_intf
(
L
);
lua_pushboolean
(
L
,
p_sys
->
exiting
);
return
1
;
}
...
...
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