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
83c4ae56
Commit
83c4ae56
authored
Nov 02, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Remove superfluous casts of void pointers.
parent
4f199a10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
editstream.c
dlls/avifil32/editstream.c
+1
-1
icmstream.c
dlls/avifil32/icmstream.c
+4
-4
No files found.
dlls/avifil32/editstream.c
View file @
83c4ae56
...
...
@@ -935,7 +935,7 @@ static HRESULT WINAPI IEditAVIStream_fnReadFormat(IAVIStream*iface,LONG pos,
if
(
!
This
->
bDecompress
)
return
IAVIStream_ReadFormat
(
stream
,
n
,
format
,
fmtsize
);
lp
=
(
LPBITMAPINFOHEADER
)
AVIFILE_ReadFrame
(
This
,
stream
,
n
);
lp
=
AVIFILE_ReadFrame
(
This
,
stream
,
n
);
if
(
lp
==
NULL
)
return
AVIERR_ERROR
;
if
(
lp
->
biBitCount
<=
8
)
{
...
...
dlls/avifil32/icmstream.c
View file @
83c4ae56
...
...
@@ -393,7 +393,7 @@ static HRESULT WINAPI ICMStream_fnReadFormat(IAVIStream *iface, LONG pos,
return
hr
;
}
lpbi
=
(
LPBITMAPINFOHEADER
)
AVIStreamGetFrame
(
This
->
pg
,
pos
);
lpbi
=
AVIStreamGetFrame
(
This
->
pg
,
pos
);
if
(
lpbi
==
NULL
)
return
AVIERR_MEMORY
;
...
...
@@ -611,7 +611,7 @@ static HRESULT WINAPI ICMStream_fnRead(IAVIStream *iface, LONG start,
/* compress or decompress? */
if
(
This
->
hic
==
NULL
)
{
/* decompress */
lpbi
=
(
LPBITMAPINFOHEADER
)
AVIStreamGetFrame
(
This
->
pg
,
start
);
lpbi
=
AVIStreamGetFrame
(
This
->
pg
,
start
);
if
(
lpbi
==
NULL
)
return
AVIERR_MEMORY
;
...
...
@@ -634,7 +634,7 @@ static HRESULT WINAPI ICMStream_fnRead(IAVIStream *iface, LONG start,
while
(
start
>
This
->
lCurrent
)
{
HRESULT
hr
;
lpbi
=
(
LPBITMAPINFOHEADER
)
AVIStreamGetFrame
(
This
->
pg
,
++
This
->
lCurrent
);
lpbi
=
AVIStreamGetFrame
(
This
->
pg
,
++
This
->
lCurrent
);
if
(
lpbi
==
NULL
)
{
AVIFILE_Reset
(
This
);
return
AVIERR_MEMORY
;
...
...
@@ -902,7 +902,7 @@ static HRESULT AVIFILE_OpenGetFrame(IAVIStreamImpl *This)
assert
(
This
->
lpbiOutput
==
NULL
);
/* get input format */
lpbi
=
(
LPBITMAPINFOHEADER
)
AVIStreamGetFrame
(
This
->
pg
,
This
->
sInfo
.
dwStart
);
lpbi
=
AVIStreamGetFrame
(
This
->
pg
,
This
->
sInfo
.
dwStart
);
if
(
lpbi
==
NULL
)
return
AVIERR_MEMORY
;
...
...
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