Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4857772b
Commit
4857772b
authored
Nov 04, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Allow NULL for time format in ConvertTimeFormat.
parent
5cbc4e81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
seeking.c
dlls/strmbase/seeking.c
+5
-0
No files found.
dlls/strmbase/seeking.c
View file @
4857772b
...
...
@@ -179,6 +179,11 @@ HRESULT WINAPI SourceSeekingImpl_GetCurrentPosition(IMediaSeeking * iface, LONGL
HRESULT
WINAPI
SourceSeekingImpl_ConvertTimeFormat
(
IMediaSeeking
*
iface
,
LONGLONG
*
pTarget
,
const
GUID
*
pTargetFormat
,
LONGLONG
Source
,
const
GUID
*
pSourceFormat
)
{
SourceSeeking
*
This
=
(
SourceSeeking
*
)
iface
;
if
(
!
pTargetFormat
)
pTargetFormat
=
&
This
->
timeformat
;
if
(
!
pSourceFormat
)
pSourceFormat
=
&
This
->
timeformat
;
if
(
IsEqualIID
(
pTargetFormat
,
&
TIME_FORMAT_MEDIA_TIME
)
&&
IsEqualIID
(
pSourceFormat
,
&
TIME_FORMAT_MEDIA_TIME
))
{
*
pTarget
=
Source
;
...
...
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