va/test: return a value to silence compiler waring 16/816/1
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 24 Jun 2011 01:14:10 +0000 (09:14 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 24 Jun 2011 01:20:18 +0000 (09:20 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
test/encode/h264encode_x11.c
test/putsurface/putsurface_x11.c

index a30e667..7f9494c 100644 (file)
@@ -93,7 +93,7 @@ static int display_surface(int frame_id, int *exit_encode)
         }      
     }  
 
-    return;
+    return 0;
 }
 
 #include "h264encode_common.c"
index 3912d1a..db503b4 100644 (file)
@@ -161,6 +161,8 @@ static int check_window_event(void *win_display, void *drawable, int *width, int
         printf("Scale window to %dx%d\n", width, height);
     }
 #endif
+
+    return 0;
 }