Commit e1b72917 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

windowscodecs: Remove unneeded address-of operators from array names.

parent cb84c2da
...@@ -284,7 +284,7 @@ static HRESULT WINAPI JpegDecoder_Initialize(IWICBitmapDecoder *iface, IStream * ...@@ -284,7 +284,7 @@ static HRESULT WINAPI JpegDecoder_Initialize(IWICBitmapDecoder *iface, IStream *
This->cinfo.err = &This->jerr; This->cinfo.err = &This->jerr;
This->cinfo.client_data = &jmpbuf; This->cinfo.client_data = jmpbuf;
if (setjmp(jmpbuf)) if (setjmp(jmpbuf))
{ {
...@@ -576,7 +576,7 @@ static HRESULT WINAPI JpegDecoder_Frame_CopyPixels(IWICBitmapFrameDecode *iface, ...@@ -576,7 +576,7 @@ static HRESULT WINAPI JpegDecoder_Frame_CopyPixels(IWICBitmapFrameDecode *iface,
} }
} }
This->cinfo.client_data = &jmpbuf; This->cinfo.client_data = jmpbuf;
if (setjmp(jmpbuf)) if (setjmp(jmpbuf))
{ {
......
...@@ -304,7 +304,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p ...@@ -304,7 +304,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
hr = E_FAIL; hr = E_FAIL;
goto end; goto end;
} }
ppng_set_error_fn(This->png_ptr, &jmpbuf, user_error_fn, user_warning_fn); ppng_set_error_fn(This->png_ptr, jmpbuf, user_error_fn, user_warning_fn);
/* seek to the start of the stream */ /* seek to the start of the stream */
seek.QuadPart = 0; seek.QuadPart = 0;
...@@ -1015,7 +1015,7 @@ static HRESULT WINAPI PngFrameEncode_WritePixels(IWICBitmapFrameEncode *iface, ...@@ -1015,7 +1015,7 @@ static HRESULT WINAPI PngFrameEncode_WritePixels(IWICBitmapFrameEncode *iface,
HeapFree(GetProcessHeap(), 0, row_pointers); HeapFree(GetProcessHeap(), 0, row_pointers);
return E_FAIL; return E_FAIL;
} }
ppng_set_error_fn(This->png_ptr, &jmpbuf, user_error_fn, user_warning_fn); ppng_set_error_fn(This->png_ptr, jmpbuf, user_error_fn, user_warning_fn);
if (!This->info_written) if (!This->info_written)
{ {
...@@ -1153,7 +1153,7 @@ static HRESULT WINAPI PngFrameEncode_Commit(IWICBitmapFrameEncode *iface) ...@@ -1153,7 +1153,7 @@ static HRESULT WINAPI PngFrameEncode_Commit(IWICBitmapFrameEncode *iface)
LeaveCriticalSection(&This->lock); LeaveCriticalSection(&This->lock);
return E_FAIL; return E_FAIL;
} }
ppng_set_error_fn(This->png_ptr, &jmpbuf, user_error_fn, user_warning_fn); ppng_set_error_fn(This->png_ptr, jmpbuf, user_error_fn, user_warning_fn);
ppng_write_end(This->png_ptr, This->info_ptr); ppng_write_end(This->png_ptr, This->info_ptr);
...@@ -1305,7 +1305,7 @@ static HRESULT WINAPI PngEncoder_Initialize(IWICBitmapEncoder *iface, ...@@ -1305,7 +1305,7 @@ static HRESULT WINAPI PngEncoder_Initialize(IWICBitmapEncoder *iface,
LeaveCriticalSection(&This->lock); LeaveCriticalSection(&This->lock);
return E_FAIL; return E_FAIL;
} }
ppng_set_error_fn(This->png_ptr, &jmpbuf, user_error_fn, user_warning_fn); ppng_set_error_fn(This->png_ptr, jmpbuf, user_error_fn, user_warning_fn);
/* set up custom i/o handling */ /* set up custom i/o handling */
ppng_set_write_fn(This->png_ptr, This, user_write_data, user_flush); ppng_set_write_fn(This->png_ptr, This, user_write_data, user_flush);
......
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