diff --git a/linphone/mediastreamer2/src/videoout.c b/linphone/mediastreamer2/src/videoout.c
index 63673625b589051f6265b2f52d4fba2de3c3cd68..51e6a3eff2dca493b3855c9322094bfe6f076a6c 100644
--- a/linphone/mediastreamer2/src/videoout.c
+++ b/linphone/mediastreamer2/src/videoout.c
@@ -269,8 +269,6 @@ static LRESULT CALLBACK window_proc(
     LPARAM lParam)    // second message parameter
 {
 	switch(uMsg){
-		case WM_PAINT:
-		break;
 		case WM_DESTROY:
 		break;
 		case WM_SIZE: