diff --git a/dlls/mciavi32/mmoutput.c b/dlls/mciavi32/mmoutput.c index d1ed699da94..8c8bdc22f4c 100644 --- a/dlls/mciavi32/mmoutput.c +++ b/dlls/mciavi32/mmoutput.c @@ -599,8 +599,6 @@ LRESULT MCIAVI_PaintFrame(WINE_MCIAVI* wma, HDC hDC) { void* pBitmapData; LPBITMAPINFO pBitmapInfo; - int nWidth; - int nHeight; if (!hDC || !wma->inbih) return TRUE; @@ -633,15 +631,9 @@ LRESULT MCIAVI_PaintFrame(WINE_MCIAVI* wma, HDC hDC) if (wma->hic) { pBitmapData = wma->outdata; pBitmapInfo = (LPBITMAPINFO)wma->outbih; - - nWidth = wma->outbih->biWidth; - nHeight = wma->outbih->biHeight; } else { pBitmapData = wma->indata; pBitmapInfo = (LPBITMAPINFO)wma->inbih; - - nWidth = wma->inbih->biWidth; - nHeight = wma->inbih->biHeight; } StretchDIBits(hDC,