OSDN Git Service

Remove unused local varibles in upload_source_YUV_once_for_all.
authorLim Siew Hoon <siew.hoon.lim@intel.com>
Wed, 22 Jun 2016 11:46:02 +0000 (19:46 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Aug 2016 05:04:29 +0000 (13:04 +0800)
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit 4ea3e2f0b921cfbed30d0cfe795939df742e5cfd)

test/putsurface/putsurface_common.c

index 3806bbc..c50c116 100755 (executable)
@@ -350,9 +350,6 @@ static VASurfaceID get_next_free_surface(int *index)
 
 static int upload_source_YUV_once_for_all()
 {
-    VAImage surface_image;
-    void *surface_p=NULL, *U_start,*V_start;
-    VAStatus va_status;
     int box_width_loc=8;
     int row_shift_loc=0;
     int i;