Module: wine Branch: master Commit: 4bb2c61b39668a02f68e859afc2a8de7aa434b6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=4bb2c61b39668a02f68e859afc...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Thu Dec 6 22:41:52 2012 +0000
windowscodecs: Remove unneeded address-of operators from array names.
---
dlls/windowscodecs/gifformat.c | 2 +- dlls/windowscodecs/jpegformat.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/windowscodecs/gifformat.c b/dlls/windowscodecs/gifformat.c index ce63af9..84838e2 100644 --- a/dlls/windowscodecs/gifformat.c +++ b/dlls/windowscodecs/gifformat.c @@ -1362,7 +1362,7 @@ static HRESULT WINAPI GifDecoder_Block_GetReaderByIndex(IWICMetadataBlockReader if (!reader) return E_INVALIDARG;
if (index == 0) - return create_metadata_reader(&This->LSD_data, sizeof(This->LSD_data), + return create_metadata_reader(This->LSD_data, sizeof(This->LSD_data), &CLSID_WICLSDMetadataReader, reader);
for (i = 0; i < This->gif->Extensions.ExtensionBlockCount; i++) diff --git a/dlls/windowscodecs/jpegformat.c b/dlls/windowscodecs/jpegformat.c index 57f1b55..6463de5 100644 --- a/dlls/windowscodecs/jpegformat.c +++ b/dlls/windowscodecs/jpegformat.c @@ -1022,7 +1022,7 @@ static HRESULT WINAPI JpegEncoder_Frame_WritePixels(IWICBitmapFrameEncode *iface HeapFree(GetProcessHeap(), 0, swapped_data); return E_FAIL; } - This->cinfo.client_data = &jmpbuf; + This->cinfo.client_data = jmpbuf;
if (!This->started_compress) { @@ -1189,7 +1189,7 @@ static HRESULT WINAPI JpegEncoder_Frame_Commit(IWICBitmapFrameEncode *iface) LeaveCriticalSection(&This->lock); return E_FAIL; } - This->cinfo.client_data = &jmpbuf; + This->cinfo.client_data = jmpbuf;
pjpeg_finish_compress(&This->cinfo);
@@ -1299,7 +1299,7 @@ static HRESULT WINAPI JpegEncoder_Initialize(IWICBitmapEncoder *iface,
This->cinfo.err = &This->jerr;
- This->cinfo.client_data = &jmpbuf; + This->cinfo.client_data = jmpbuf;
if (setjmp(jmpbuf)) {