avifil32: Drop the 'register' storage-class specifier.

This commit is contained in:
Michael Stefaniuc 2012-06-21 13:17:51 +02:00 committed by Alexandre Julliard
parent 1c7f54bfa6
commit a2a8a613be
3 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@ static HRESULT WINAPI ACMStream_fnCreate(IAVIStream *iface, LPARAM lParam1,
/* check for swapped parameters */ /* check for swapped parameters */
if ((LPVOID)lParam1 != NULL && if ((LPVOID)lParam1 != NULL &&
((LPAVICOMPRESSOPTIONS)lParam1)->fccType == streamtypeAUDIO) { ((LPAVICOMPRESSOPTIONS)lParam1)->fccType == streamtypeAUDIO) {
register LPARAM tmp = lParam1; LPARAM tmp = lParam1;
lParam1 = lParam2; lParam1 = lParam2;
lParam2 = tmp; lParam2 = tmp;

View File

@ -430,7 +430,7 @@ static HRESULT WINAPI IGetFrame_fnSetFormat(IGetFrame *iface,
} }
if (lpBits == NULL) { if (lpBits == NULL) {
register DWORD size = This->lpOutFormat->biClrUsed * sizeof(RGBQUAD); DWORD size = This->lpOutFormat->biClrUsed * sizeof(RGBQUAD);
size += This->lpOutFormat->biSize + This->lpOutFormat->biSizeImage; size += This->lpOutFormat->biSize + This->lpOutFormat->biSizeImage;
This->lpOutFormat = HeapReAlloc(GetProcessHeap(), 0, This->lpOutFormat, size); This->lpOutFormat = HeapReAlloc(GetProcessHeap(), 0, This->lpOutFormat, size);

View File

@ -258,7 +258,7 @@ PAVIFILE AVIFILE_CreateAVITempFile(int nStreams, const PAVISTREAM *ppStreams)
tmpFile->fInfo.dwSuggestedBufferSize = sInfo.dwSuggestedBufferSize; tmpFile->fInfo.dwSuggestedBufferSize = sInfo.dwSuggestedBufferSize;
{ {
register DWORD tmp; DWORD tmp;
tmp = MulDiv(AVIStreamSampleToTime(ppStreams[i], sInfo.dwLength), tmp = MulDiv(AVIStreamSampleToTime(ppStreams[i], sInfo.dwLength),
tmpFile->fInfo.dwScale, tmpFile->fInfo.dwRate * 1000); tmpFile->fInfo.dwScale, tmpFile->fInfo.dwRate * 1000);