Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c3227e18
Commit
c3227e18
authored
Feb 17, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla: cleanup
parent
c2696391
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
projects/mozilla/control/npolibvlc.cpp
projects/mozilla/control/npolibvlc.cpp
+3
-4
No files found.
projects/mozilla/control/npolibvlc.cpp
View file @
c3227e18
...
@@ -1131,7 +1131,7 @@ RuntimeNPObject::InvokeResult LibvlcLogNPObject::setProperty(int index, const NP
...
@@ -1131,7 +1131,7 @@ RuntimeNPObject::InvokeResult LibvlcLogNPObject::setProperty(int index, const NP
int
verbosity
=
numberValue
(
value
);
int
verbosity
=
numberValue
(
value
);
if
(
verbosity
>=
0
)
if
(
verbosity
>=
0
)
{
{
if
(
!
p_log
)
if
(
!
p_log
)
{
{
p_log
=
libvlc_log_open
(
p_libvlc
,
&
ex
);
p_log
=
libvlc_log_open
(
p_libvlc
,
&
ex
);
if
(
libvlc_exception_raised
(
&
ex
)
)
if
(
libvlc_exception_raised
(
&
ex
)
)
...
@@ -1430,7 +1430,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
...
@@ -1430,7 +1430,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
{
{
url
=
p_plugin
->
getAbsoluteURL
(
s
);
url
=
p_plugin
->
getAbsoluteURL
(
s
);
if
(
url
)
if
(
url
)
free
(
s
);
free
(
s
);
else
else
// problem with combining url, use argument
// problem with combining url, use argument
url
=
s
;
url
=
s
;
...
@@ -1498,7 +1498,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
...
@@ -1498,7 +1498,7 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
free
(
name
);
free
(
name
);
for
(
int
i
=
0
;
i
<
i_options
;
++
i
)
for
(
int
i
=
0
;
i
<
i_options
;
++
i
)
{
{
free
(
ppsz_options
[
i
]);
free
(
ppsz_options
[
i
]);
}
}
free
(
ppsz_options
);
free
(
ppsz_options
);
...
@@ -2169,4 +2169,3 @@ RuntimeNPObject::InvokeResult LibvlcVideoNPObject::invoke(int index, const NPVar
...
@@ -2169,4 +2169,3 @@ RuntimeNPObject::InvokeResult LibvlcVideoNPObject::invoke(int index, const NPVar
}
}
return
INVOKERESULT_GENERIC_ERROR
;
return
INVOKERESULT_GENERIC_ERROR
;
}
}
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