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
84f5761a
Commit
84f5761a
authored
Aug 22, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use standard wine_dbgstr_longlong.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
da03b46d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
avisplit.c
dlls/quartz/avisplit.c
+6
-6
filesource.c
dlls/quartz/filesource.c
+1
-1
No files found.
dlls/quartz/avisplit.c
View file @
84f5761a
...
...
@@ -575,7 +575,7 @@ static HRESULT AVISplitter_ProcessIndex(AVISplitterImpl *This, AVISTDINDEX **ind
TRACE
(
"bIndexType: %u
\n
"
,
pIndex
->
bIndexType
);
TRACE
(
"nEntriesInUse: %u
\n
"
,
pIndex
->
nEntriesInUse
);
TRACE
(
"dwChunkId: %.4s
\n
"
,
(
char
*
)
&
pIndex
->
dwChunkId
);
TRACE
(
"qwBaseOffset: %
x%08x
\n
"
,
(
DWORD
)(
pIndex
->
qwBaseOffset
>>
32
),
(
DWORD
)
pIndex
->
qwBaseOffset
);
TRACE
(
"qwBaseOffset: %
s
\n
"
,
wine_dbgstr_longlong
(
pIndex
->
qwBaseOffset
)
);
TRACE
(
"dwReserved_3: %u
\n
"
,
pIndex
->
dwReserved_3
);
if
(
pIndex
->
bIndexType
!=
AVI_INDEX_OF_CHUNKS
...
...
@@ -595,7 +595,7 @@ static HRESULT AVISplitter_ProcessIndex(AVISplitterImpl *This, AVISTDINDEX **ind
{
BOOL
keyframe
=
!
(
pIndex
->
aIndex
[
x
].
dwSize
>>
31
);
DWORDLONG
offset
=
pIndex
->
qwBaseOffset
+
pIndex
->
aIndex
[
x
].
dwOffset
;
TRACE
(
"dwOffset: %
x%08x
\n
"
,
(
DWORD
)(
offset
>>
32
),
(
DWORD
)
offset
);
TRACE
(
"dwOffset: %
s
\n
"
,
wine_dbgstr_longlong
(
offset
)
);
TRACE
(
"dwSize: %u
\n
"
,
(
pIndex
->
aIndex
[
x
].
dwSize
&
~
(
1u
<<
31
)));
TRACE
(
"Frame is a keyframe: %s
\n
"
,
keyframe
?
"yes"
:
"no"
);
}
...
...
@@ -646,9 +646,9 @@ static HRESULT AVISplitter_ProcessOldIndex(AVISplitterImpl *This)
}
else
if
(
temp2
!=
chunkid
)
{
ERR
(
"Faulty index or bug in handling: Wanted FCC: %s, Abs FCC: %s (@ %x), Rel FCC: %s (@ %
.0x%08x
)
\n
"
,
ERR
(
"Faulty index or bug in handling: Wanted FCC: %s, Abs FCC: %s (@ %x), Rel FCC: %s (@ %
s
)
\n
"
,
debugstr_an
((
char
*
)
&
chunkid
,
4
),
debugstr_an
((
char
*
)
&
temp
,
4
),
offset
,
debugstr_an
((
char
*
)
&
temp2
,
4
),
(
DWORD
)((
mov_pos
+
offset
)
>>
32
),
(
DWORD
)
(
mov_pos
+
offset
));
debugstr_an
((
char
*
)
&
temp2
,
4
),
wine_dbgstr_longlong
(
mov_pos
+
offset
));
relative
=
-
1
;
}
else
...
...
@@ -845,7 +845,7 @@ static HRESULT AVISplitter_ProcessStreamList(AVISplitterImpl * This, const BYTE
stream
->
stdindex
=
CoTaskMemRealloc
(
stream
->
stdindex
,
sizeof
(
*
stream
->
stdindex
)
*
stream
->
entries
);
for
(
x
=
0
;
x
<
pIndex
->
nEntriesInUse
;
++
x
)
{
TRACE
(
"qwOffset: %
x%08x
\n
"
,
(
DWORD
)(
pIndex
->
aIndex
[
x
].
qwOffset
>>
32
),
(
DWORD
)
pIndex
->
aIndex
[
x
].
qwOffset
);
TRACE
(
"qwOffset: %
s
\n
"
,
wine_dbgstr_longlong
(
pIndex
->
aIndex
[
x
].
qwOffset
)
);
TRACE
(
"dwSize: %u
\n
"
,
pIndex
->
aIndex
[
x
].
dwSize
);
TRACE
(
"dwDuration: %u (unreliable)
\n
"
,
pIndex
->
aIndex
[
x
].
dwDuration
);
...
...
@@ -1134,7 +1134,7 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin,
pAviSplit
->
EndOfFile
=
This
->
rtStop
=
MEDIATIME_FROM_BYTES
(
pos
);
if
(
pos
>
total
)
{
ERR
(
"File smaller (%
x%08x) then EndOfFile (%x%08x)
\n
"
,
(
DWORD
)(
total
>>
32
),
(
DWORD
)
total
,
(
DWORD
)(
pAviSplit
->
EndOfFile
>>
32
),
(
DWORD
)
pAviSplit
->
EndOfFile
);
ERR
(
"File smaller (%
s) then EndOfFile (%s)
\n
"
,
wine_dbgstr_longlong
(
total
),
wine_dbgstr_longlong
(
pAviSplit
->
EndOfFile
)
);
return
E_FAIL
;
}
...
...
dlls/quartz/filesource.c
View file @
84f5761a
...
...
@@ -1335,7 +1335,7 @@ static HRESULT WINAPI FileAsyncReader_SyncRead(IAsyncReader * iface, LONGLONG ll
HRESULT
hr
=
S_OK
;
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
TRACE
(
"(%
x%08x, %d, %p)
\n
"
,
(
ULONG
)(
llPosition
>>
32
),
(
ULONG
)
llPosition
,
lLength
,
pBuffer
);
TRACE
(
"(%
s, %d, %p)
\n
"
,
wine_dbgstr_longlong
(
llPosition
)
,
lLength
,
pBuffer
);
ZeroMemory
(
&
ovl
,
sizeof
(
ovl
));
...
...
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