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
35d52735
Commit
35d52735
authored
Sep 30, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify and hopefully fix compilation :)
parent
80660f17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/misc/lua/demux.c
modules/misc/lua/demux.c
+2
-7
No files found.
modules/misc/lua/demux.c
View file @
35d52735
...
...
@@ -140,7 +140,6 @@ static int probe_luascript( vlc_object_t *p_this, const char * psz_filename,
{
msg_Warn
(
p_demux
,
"Error loading script %s: %s"
,
psz_filename
,
lua_tostring
(
L
,
lua_gettop
(
L
)
)
);
lua_pop
(
L
,
1
);
goto
error
;
}
...
...
@@ -150,9 +149,7 @@ static int probe_luascript( vlc_object_t *p_this, const char * psz_filename,
{
msg_Warn
(
p_demux
,
"Error while runing script %s, "
"function probe() not found"
,
psz_filename
);
lua_pop
(
L
,
1
);
goto
error
;
return
VLC_EGENERIC
;
}
if
(
lua_pcall
(
L
,
0
,
1
,
0
)
)
...
...
@@ -160,9 +157,7 @@ static int probe_luascript( vlc_object_t *p_this, const char * psz_filename,
msg_Warn
(
p_demux
,
"Error while runing script %s, "
"function probe(): %s"
,
psz_filename
,
lua_tostring
(
L
,
lua_gettop
(
L
)
)
);
lua_pop
(
L
,
1
);
goto
error
;
return
VLC_EGENERIC
;
}
if
(
lua_gettop
(
L
)
)
...
...
@@ -174,11 +169,11 @@ static int probe_luascript( vlc_object_t *p_this, const char * psz_filename,
lua_pop
(
L
,
1
);
return
VLC_SUCCESS
;
}
lua_pop
(
L
,
1
);
}
error:
FREENULL
(
p_sys
->
psz_filename
);
lua_pop
(
L
,
1
);
FREENULL
(
p_demux
->
p_sys
->
psz_filename
);
return
VLC_EGENERIC
;
}
...
...
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