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
ff92404d
Commit
ff92404d
authored
Dec 29, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Remove unneeded casts.
parent
69599675
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
api.c
dlls/avifil32/api.c
+1
-1
avifile.c
dlls/avifil32/avifile.c
+2
-2
factory.c
dlls/avifil32/factory.c
+1
-1
No files found.
dlls/avifil32/api.c
View file @
ff92404d
...
...
@@ -1509,7 +1509,7 @@ BOOL WINAPI AVISaveOptions(HWND hWnd, UINT uFlags, INT nStreams,
HeapFree
(
GetProcessHeap
(),
0
,
pSavedOptions
);
}
return
(
BOOL
)
ret
;
return
ret
;
}
/***********************************************************************
...
...
dlls/avifil32/avifile.c
View file @
ff92404d
...
...
@@ -1795,7 +1795,7 @@ static HRESULT AVIFILE_LoadFile(IAVIFileImpl *This)
if
(
str
==
NULL
)
return
AVIERR_MEMORY
;
if
(
mmioRead
(
This
->
hmmio
,
(
HPSTR
)
str
,
ck
.
cksize
)
!=
ck
.
cksize
)
if
(
mmioRead
(
This
->
hmmio
,
str
,
ck
.
cksize
)
!=
ck
.
cksize
)
{
HeapFree
(
GetProcessHeap
(),
0
,
str
);
return
AVIERR_FILEREAD
;
...
...
@@ -2249,7 +2249,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
WideCharToMultiByte
(
CP_ACP
,
0
,
pStream
->
sInfo
.
szName
,
-
1
,
str
,
ck
.
cksize
,
NULL
,
NULL
);
if
(
mmioWrite
(
This
->
hmmio
,
(
HPSTR
)
str
,
ck
.
cksize
)
!=
ck
.
cksize
)
{
if
(
mmioWrite
(
This
->
hmmio
,
str
,
ck
.
cksize
)
!=
ck
.
cksize
)
{
HeapFree
(
GetProcessHeap
(),
0
,
str
);
return
AVIERR_FILEWRITE
;
}
...
...
dlls/avifil32/factory.c
View file @
ff92404d
...
...
@@ -209,7 +209,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDll
);
AVIFILE_hModule
=
(
HMODULE
)
hInstDll
;
AVIFILE_hModule
=
hInstDll
;
break
;
case
DLL_PROCESS_DETACH
:
break
;
...
...
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