summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2016-06-22 19:46:02 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2016-08-22 13:04:29 +0800
commit28a967127fef6c5890a0bfc37c281e33fc676296 (patch)
tree30539a929a577d13a5fecef443c9e8bb9d20f7b1
parent370bf6aa3669514455a5f92a2fb50f438e35561d (diff)
downloadlibva-28a967127fef6c5890a0bfc37c281e33fc676296.tar.gz
Remove unused local varibles in upload_source_YUV_once_for_all.
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de> (cherry picked from commit 4ea3e2f0b921cfbed30d0cfe795939df742e5cfd)
-rwxr-xr-xtest/putsurface/putsurface_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/putsurface/putsurface_common.c b/test/putsurface/putsurface_common.c
index 3806bbc..c50c116 100755
--- a/test/putsurface/putsurface_common.c
+++ b/test/putsurface/putsurface_common.c
@@ -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;