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
a1036e1e
Commit
a1036e1e
authored
Jan 19, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix horrible typo and vlc.misc.should_die() function.
parent
8bf00f1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/misc/lua/intf.c
modules/misc/lua/intf.c
+1
-1
modules/misc/lua/libs/misc.c
modules/misc/lua/libs/misc.c
+1
-1
No files found.
modules/misc/lua/intf.c
View file @
a1036e1e
...
@@ -152,7 +152,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
...
@@ -152,7 +152,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
bool
b_config_set
=
false
;
bool
b_config_set
=
false
;
if
(
!
psz_name
)
psz_name
=
strdup
(
"dummy"
);
if
(
!
psz_name
)
psz_name
=
strdup
(
"dummy"
);
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
*
)
);
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
!
p_intf
->
p_sys
)
if
(
!
p_intf
->
p_sys
)
{
{
free
(
psz_name
);
free
(
psz_name
);
...
...
modules/misc/lua/libs/misc.c
View file @
a1036e1e
...
@@ -197,7 +197,7 @@ static int vlclua_mwait( lua_State *L )
...
@@ -197,7 +197,7 @@ static int vlclua_mwait( lua_State *L )
static
int
vlclua_intf_should_die
(
lua_State
*
L
)
static
int
vlclua_intf_should_die
(
lua_State
*
L
)
{
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
vlclua_get_this
(
L
);
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
vlclua_get_this
(
L
);
lua_pushboolean
(
L
,
!
vlc_object_alive
(
p_intf
)
);
lua_pushboolean
(
L
,
p_intf
->
p_sys
->
exiting
);
return
1
;
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