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
600555d4
Commit
600555d4
authored
Dec 30, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for the pointer iso for the pointer to the pointer. Fixes bug with get_aspectRatio().
parent
eec7c30f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
activex/vlccontrol2.cpp
activex/vlccontrol2.cpp
+4
-5
No files found.
activex/vlccontrol2.cpp
View file @
600555d4
...
...
@@ -270,7 +270,7 @@ STDMETHODIMP VLCAudio::get_channel(BSTR *channel)
*
channel
=
BSTRFromCStr
(
CP_UTF8
,
psz_channel
);
free
(
psz_channel
);
psz_channel
=
NULL
;
return
(
NULL
==
*
channel
)
?
E_OUTOFMEMORY
:
NOERROR
;
return
(
NULL
==
channel
)
?
E_OUTOFMEMORY
:
NOERROR
;
}
if
(
psz_channel
)
free
(
psz_channel
);
psz_channel
=
NULL
;
...
...
@@ -2095,7 +2095,7 @@ STDMETHODIMP VLCVideo::get_aspectRatio(BSTR* aspect)
*
aspect
=
BSTRFromCStr
(
CP_UTF8
,
psz_aspect
);
free
(
psz_aspect
);
psz_aspect
=
NULL
;
return
(
NULL
==
*
aspect
)
?
E_OUTOFMEMORY
:
NOERROR
;
return
(
NULL
==
aspect
)
?
E_OUTOFMEMORY
:
NOERROR
;
}
if
(
psz_aspect
)
free
(
psz_aspect
);
psz_aspect
=
NULL
;
...
...
@@ -2347,14 +2347,14 @@ STDMETHODIMP VLCControl2::get_StartTime(long *seconds)
return
S_OK
;
};
STDMETHODIMP
VLCControl2
::
put_StartTime
(
long
seconds
)
{
_p_instance
->
setStartTime
(
seconds
);
return
NOERROR
;
};
STDMETHODIMP
VLCControl2
::
get_VersionInfo
(
BSTR
*
version
)
{
if
(
NULL
==
version
)
...
...
@@ -2364,7 +2364,6 @@ STDMETHODIMP VLCControl2::get_VersionInfo(BSTR *version)
if
(
NULL
!=
versionStr
)
{
*
version
=
BSTRFromCStr
(
CP_UTF8
,
versionStr
);
return
NULL
==
*
version
?
E_OUTOFMEMORY
:
NOERROR
;
}
*
version
=
NULL
;
...
...
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