From: Boram Park Date: Thu, 17 Mar 2016 00:04:22 +0000 (+0900) Subject: fix syntax error X-Git-Tag: accepted/tizen/common/20160317.155505~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c7c66a5a6ee83d0c8ed09cbe6159e2e4fb9d14e;p=platform%2Fcore%2Fuifw%2Flibtdm.git fix syntax error Change-Id: I5fdb2e30bb3e0d1c664cfa14d881f067f5c3f04e --- 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;