media: v4l2-tpg-core.c: add space after %

I know, it's a measly space, but I can't stand it since the
V4L2_PIX_FMT_NV24 case before this case does it right.

So add the space in order to restore blessed symmetry and
consistency and to make the world whole again...

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Hans Verkuil 2018-03-25 17:40:30 -04:00 committed by Mauro Carvalho Chehab
parent 437fba47f4
commit e605e9e339
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ static void gen_twopix(struct tpg_data *tpg,
case V4L2_PIX_FMT_NV42: case V4L2_PIX_FMT_NV42:
buf[0][offset] = r_y_h; buf[0][offset] = r_y_h;
buf[1][2 * offset] = b_v; buf[1][2 * offset] = b_v;
buf[1][(2 * offset + 1) %8] = g_u_s; buf[1][(2 * offset + 1) % 8] = g_u_s;
break; break;
case V4L2_PIX_FMT_YUYV: case V4L2_PIX_FMT_YUYV: