diff --git a/lib/native/windows-64/screencapture.dll b/lib/native/windows-64/screencapture.dll index 7957762cf..de4d40cc9 100755 Binary files a/lib/native/windows-64/screencapture.dll and b/lib/native/windows-64/screencapture.dll differ diff --git a/lib/native/windows/screencapture.dll b/lib/native/windows/screencapture.dll index b395b8bec..830828ee3 100644 Binary files a/lib/native/windows/screencapture.dll and b/lib/native/windows/screencapture.dll differ diff --git a/src/native/screencapture/net_java_sip_communicator_impl_neomedia_imgstreaming_NativeScreenCapture.c b/src/native/screencapture/net_java_sip_communicator_impl_neomedia_imgstreaming_NativeScreenCapture.c index 4d370961e..8ac5b6c1f 100644 --- a/src/native/screencapture/net_java_sip_communicator_impl_neomedia_imgstreaming_NativeScreenCapture.c +++ b/src/native/screencapture/net_java_sip_communicator_impl_neomedia_imgstreaming_NativeScreenCapture.c @@ -179,7 +179,7 @@ static int windows_grab_screen(jbyte* data, unsigned int display, int x, int y, return -1; } - bitmap = CreateCompatibleBitmap(desktop, width, height); + bitmap = CreateCompatibleBitmap(desktop, w, h); if(!bitmap) { @@ -246,7 +246,7 @@ static int windows_grab_screen(jbyte* data, unsigned int display, int x, int y, pixels++; /* get raw bytes */ - if(GetDIBits(dest, bitmap, 0, height, pixels, bitmap_info, DIB_RGB_COLORS) == 0) + if(GetDIBits(dest, bitmap, 0, h, pixels, bitmap_info, DIB_RGB_COLORS) == 0) { fprintf(stderr, "GetDIBits failed!\n"); free(bitmap_info);