Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d13dde18
Commit
d13dde18
authored
Jul 14, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Avoid casts from COM objects to ifaces.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
06744904
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
editstream.c
dlls/avifil32/editstream.c
+2
-2
tmpfile.c
dlls/avifil32/tmpfile.c
+1
-1
No files found.
dlls/avifil32/editstream.c
View file @
d13dde18
...
@@ -404,11 +404,11 @@ static HRESULT WINAPI IAVIEditStream_fnCopy(IAVIEditStream*iface,LONG*plStart,
...
@@ -404,11 +404,11 @@ static HRESULT WINAPI IAVIEditStream_fnCopy(IAVIEditStream*iface,LONG*plStart,
if
(
pEdit
==
NULL
)
if
(
pEdit
==
NULL
)
return
AVIERR_MEMORY
;
return
AVIERR_MEMORY
;
hr
=
IAVIEditStream_Paste
(
(
PAVIEDITSTREAM
)
pEdit
,
&
start
,
plLength
,
&
This
->
IAVIStream_iface
,
hr
=
IAVIEditStream_Paste
(
&
pEdit
->
IAVIEditStream_iface
,
&
start
,
plLength
,
&
This
->
IAVIStream_iface
,
*
plStart
,
*
plStart
+
*
plLength
);
*
plStart
,
*
plStart
+
*
plLength
);
*
plStart
=
start
;
*
plStart
=
start
;
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
IAVIEditStream_Release
(
(
PAVIEDITSTREAM
)
pEdit
);
IAVIEditStream_Release
(
&
pEdit
->
IAVIEditStream_iface
);
else
else
*
ppResult
=
&
This
->
IAVIStream_iface
;
*
ppResult
=
&
This
->
IAVIStream_iface
;
...
...
dlls/avifil32/tmpfile.c
View file @
d13dde18
...
@@ -274,5 +274,5 @@ PAVIFILE AVIFILE_CreateAVITempFile(int nStreams, const PAVISTREAM *ppStreams)
...
@@ -274,5 +274,5 @@ PAVIFILE AVIFILE_CreateAVITempFile(int nStreams, const PAVISTREAM *ppStreams)
}
}
}
}
return
(
PAVIFILE
)
tmpFil
e
;
return
&
tmpFile
->
IAVIFile_ifac
e
;
}
}
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