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
82a9faae
Commit
82a9faae
authored
Nov 28, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Use __ms_va* varargs variant for AVISave[A,W].
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ecfaecd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
api.c
dlls/avifil32/api.c
+6
-6
No files found.
dlls/avifil32/api.c
View file @
82a9faae
...
...
@@ -2278,7 +2278,7 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
HRESULT
WINAPIV
AVISaveA
(
LPCSTR
szFile
,
CLSID
*
pclsidHandler
,
AVISAVECALLBACK
lpfnCallback
,
int
nStreams
,
PAVISTREAM
pavi
,
LPAVICOMPRESSOPTIONS
lpOptions
,
...)
{
va_list
vl
;
__ms_
va_list
vl
;
int
i
;
HRESULT
ret
;
PAVISTREAM
*
streams
;
...
...
@@ -2300,13 +2300,13 @@ HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK l
streams
[
0
]
=
pavi
;
options
[
0
]
=
lpOptions
;
va_start
(
vl
,
lpOptions
);
__ms_
va_start
(
vl
,
lpOptions
);
for
(
i
=
1
;
i
<
nStreams
;
i
++
)
{
streams
[
i
]
=
va_arg
(
vl
,
void
*
);
options
[
i
]
=
va_arg
(
vl
,
void
*
);
}
va_end
(
vl
);
__ms_
va_end
(
vl
);
for
(
i
=
0
;
i
<
nStreams
;
i
++
)
TRACE
(
"Pair[%d] - Stream = %p, Options = %p
\n
"
,
i
,
streams
[
i
],
options
[
i
]);
...
...
@@ -2321,7 +2321,7 @@ error:
HRESULT
WINAPIV
AVISaveW
(
LPCWSTR
szFile
,
CLSID
*
pclsidHandler
,
AVISAVECALLBACK
lpfnCallback
,
int
nStreams
,
PAVISTREAM
pavi
,
LPAVICOMPRESSOPTIONS
lpOptions
,
...)
{
va_list
vl
;
__ms_
va_list
vl
;
int
i
;
HRESULT
ret
;
PAVISTREAM
*
streams
;
...
...
@@ -2343,13 +2343,13 @@ HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK
streams
[
0
]
=
pavi
;
options
[
0
]
=
lpOptions
;
va_start
(
vl
,
lpOptions
);
__ms_
va_start
(
vl
,
lpOptions
);
for
(
i
=
1
;
i
<
nStreams
;
i
++
)
{
streams
[
i
]
=
va_arg
(
vl
,
void
*
);
options
[
i
]
=
va_arg
(
vl
,
void
*
);
}
va_end
(
vl
);
__ms_
va_end
(
vl
);
for
(
i
=
0
;
i
<
nStreams
;
i
++
)
TRACE
(
"Pair[%d] - Stream = %p, Options = %p
\n
"
,
i
,
streams
[
i
],
options
[
i
]);
...
...
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