From 5c7c66a5a6ee83d0c8ed09cbe6159e2e4fb9d14e Mon Sep 17 00:00:00 2001 From: Boram Park Date: Thu, 17 Mar 2016 09:04:22 +0900 Subject: [PATCH] fix syntax error Change-Id: I5fdb2e30bb3e0d1c664cfa14d881f067f5c3f04e --- src/tdm_helper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tdm_helper.c b/src/tdm_helper.c index d4a0937..7c47b6e 100644 --- a/src/tdm_helper.c +++ b/src/tdm_helper.c @@ -140,26 +140,26 @@ tdm_helper_dump_buffer(tbm_surface_h buffer, const char *file) case TBM_FORMAT_YVU420: case TBM_FORMAT_YUV420: _tdm_helper_dump_raw(file, - info.planes[0].ptr + info.planes[0].offset, + info.planes[0].ptr, info.planes[0].stride * info.height, - info.planes[1].ptr + info.planes[1].offset, + info.planes[1].ptr, info.planes[1].stride * (info.height >> 1), - info.planes[2].ptr + info.planes[2].offset, + info.planes[2].ptr, info.planes[2].stride * (info.height >> 1)); break; case TBM_FORMAT_NV12: case TBM_FORMAT_NV21: _tdm_helper_dump_raw(file, - info.planes[0].ptr + info.planes[0].offset, + info.planes[0].ptr, info.planes[0].stride * info.height, - info.planes[1].ptr + info.planes[1].offset, + info.planes[1].ptr, info.planes[1].stride * (info.height >> 1), NULL, 0); break; case TBM_FORMAT_YUYV: case TBM_FORMAT_UYVY: _tdm_helper_dump_raw(file, - info.planes[0].ptr + info.planes[0].offset, + info.planes[0].ptr, info.planes[0].stride * info.height, NULL, 0, NULL, 0); break; -- 2.7.4