X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=helpers.c;h=238563de92347961858e714390169febf54c747c;hb=27a7e6a24709564e18c3382d0aeda0b40c7ae03b;hp=c6e35270f256e1d2ba46c7ea3013742c5c239aa3;hpb=657058557680c8c8ed12e166046b394460199c3d;p=android-x86%2Fexternal-minigbm.git diff --git a/helpers.c b/helpers.c index c6e3527..238563d 100644 --- a/helpers.c +++ b/helpers.c @@ -147,7 +147,7 @@ int drv_bo_from_format(struct bo *bo, uint32_t stride, uint32_t aligned_height, * - the chroma stride is 16 bytes aligned, i.e., the luma's strides * is 32 bytes aligned. */ - if (bo->format == DRM_FORMAT_YVU420_ANDROID) { + if (format == DRM_FORMAT_YVU420_ANDROID) { assert(aligned_height == bo->height); assert(stride == ALIGN(stride, 32)); }