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
ca4c116a
Commit
ca4c116a
authored
Feb 08, 2010
by
Fabio Ritrovato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua SD: forgot to cast
parent
51e62646
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/misc/lua/libs/sd.c
modules/misc/lua/libs/sd.c
+4
-2
No files found.
modules/misc/lua/libs/sd.c
View file @
ca4c116a
...
@@ -120,7 +120,8 @@ static int vlclua_sd_add_node( lua_State *L )
...
@@ -120,7 +120,8 @@ static int vlclua_sd_add_node( lua_State *L )
{
{
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
lua_pop
(
L
,
1
);
lua_pop
(
L
,
1
);
input_item_t
*
p_input
=
input_item_NewWithType
(
p_sd
,
"vlc://nop"
,
input_item_t
*
p_input
=
input_item_NewWithType
(
VLC_OBJECT
(
p_sd
),
"vlc://nop"
,
name
,
0
,
NULL
,
0
,
name
,
0
,
NULL
,
0
,
-
1
,
ITEM_TYPE_NODE
);
-
1
,
ITEM_TYPE_NODE
);
free
(
name
);
free
(
name
);
...
@@ -269,7 +270,8 @@ static int vlclua_node_add_node( lua_State *L )
...
@@ -269,7 +270,8 @@ static int vlclua_node_add_node( lua_State *L )
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
lua_pop
(
L
,
1
);
lua_pop
(
L
,
1
);
input_item_node_t
*
p_input_node
=
input_item_node_Create
(
*
pp_node
);
input_item_node_t
*
p_input_node
=
input_item_node_Create
(
*
pp_node
);
input_item_t
*
p_input
=
input_item_NewWithType
(
p_sd
,
"vlc://nop"
,
input_item_t
*
p_input
=
input_item_NewWithType
(
VLC_OBJECT
(
p_sd
),
"vlc://nop"
,
name
,
0
,
NULL
,
0
,
name
,
0
,
NULL
,
0
,
-
1
,
ITEM_TYPE_NODE
);
-
1
,
ITEM_TYPE_NODE
);
free
(
name
);
free
(
name
);
...
...
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