windowscodecs: Remove unneeded address-of operators from array names.
This commit is contained in:
parent
9b90ea557b
commit
4bb2c61b39
|
@ -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++)
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue