Commit 1303364f authored by Alexandre Julliard's avatar Alexandre Julliard

avifil32: Use the standard va_list instead of __ms_va_list.

parent e855536a
...@@ -2233,7 +2233,7 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile) ...@@ -2233,7 +2233,7 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback, HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...) int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{ {
__ms_va_list vl; va_list vl;
int i; int i;
HRESULT ret; HRESULT ret;
PAVISTREAM *streams; PAVISTREAM *streams;
...@@ -2255,13 +2255,13 @@ HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK l ...@@ -2255,13 +2255,13 @@ HRESULT WINAPIV AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK l
streams[0] = pavi; streams[0] = pavi;
options[0] = lpOptions; options[0] = lpOptions;
__ms_va_start(vl, lpOptions); va_start(vl, lpOptions);
for (i = 1; i < nStreams; i++) for (i = 1; i < nStreams; i++)
{ {
streams[i] = va_arg(vl, PAVISTREAM); streams[i] = va_arg(vl, PAVISTREAM);
options[i] = va_arg(vl, PAVICOMPRESSOPTIONS); options[i] = va_arg(vl, PAVICOMPRESSOPTIONS);
} }
__ms_va_end(vl); va_end(vl);
for (i = 0; i < nStreams; i++) for (i = 0; i < nStreams; i++)
TRACE("Pair[%d] - Stream = %p, Options = %p\n", i, streams[i], options[i]); TRACE("Pair[%d] - Stream = %p, Options = %p\n", i, streams[i], options[i]);
...@@ -2276,7 +2276,7 @@ error: ...@@ -2276,7 +2276,7 @@ error:
HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback, HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...) int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{ {
__ms_va_list vl; va_list vl;
int i; int i;
HRESULT ret; HRESULT ret;
PAVISTREAM *streams; PAVISTREAM *streams;
...@@ -2298,13 +2298,13 @@ HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK ...@@ -2298,13 +2298,13 @@ HRESULT WINAPIV AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK
streams[0] = pavi; streams[0] = pavi;
options[0] = lpOptions; options[0] = lpOptions;
__ms_va_start(vl, lpOptions); va_start(vl, lpOptions);
for (i = 1; i < nStreams; i++) for (i = 1; i < nStreams; i++)
{ {
streams[i] = va_arg(vl, PAVISTREAM); streams[i] = va_arg(vl, PAVISTREAM);
options[i] = va_arg(vl, PAVICOMPRESSOPTIONS); options[i] = va_arg(vl, PAVICOMPRESSOPTIONS);
} }
__ms_va_end(vl); va_end(vl);
for (i = 0; i < nStreams; i++) for (i = 0; i < nStreams; i++)
TRACE("Pair[%d] - Stream = %p, Options = %p\n", i, streams[i], options[i]); TRACE("Pair[%d] - Stream = %p, Options = %p\n", i, streams[i], options[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment