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

This commit is contained in:
Andrew Talbot 2012-12-06 22:41:52 +00:00 committed by Alexandre Julliard
parent 9b90ea557b
commit 4bb2c61b39
2 changed files with 4 additions and 4 deletions

View File

@ -1362,7 +1362,7 @@ static HRESULT WINAPI GifDecoder_Block_GetReaderByIndex(IWICMetadataBlockReader
if (!reader) return E_INVALIDARG; if (!reader) return E_INVALIDARG;
if (index == 0) 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); &CLSID_WICLSDMetadataReader, reader);
for (i = 0; i < This->gif->Extensions.ExtensionBlockCount; i++) for (i = 0; i < This->gif->Extensions.ExtensionBlockCount; i++)

View File

@ -1022,7 +1022,7 @@ static HRESULT WINAPI JpegEncoder_Frame_WritePixels(IWICBitmapFrameEncode *iface
HeapFree(GetProcessHeap(), 0, swapped_data); HeapFree(GetProcessHeap(), 0, swapped_data);
return E_FAIL; return E_FAIL;
} }
This->cinfo.client_data = &jmpbuf; This->cinfo.client_data = jmpbuf;
if (!This->started_compress) if (!This->started_compress)
{ {
@ -1189,7 +1189,7 @@ static HRESULT WINAPI JpegEncoder_Frame_Commit(IWICBitmapFrameEncode *iface)
LeaveCriticalSection(&This->lock); LeaveCriticalSection(&This->lock);
return E_FAIL; return E_FAIL;
} }
This->cinfo.client_data = &jmpbuf; This->cinfo.client_data = jmpbuf;
pjpeg_finish_compress(&This->cinfo); pjpeg_finish_compress(&This->cinfo);
@ -1299,7 +1299,7 @@ static HRESULT WINAPI JpegEncoder_Initialize(IWICBitmapEncoder *iface,
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))
{ {