commit | 54ace1cfd4358fd11112f17cc711eea234d5ab9e | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Feb 29 07:16:39 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Apr 13 16:43:27 2016 -0300 |
tree | 08518c4ee0bf6460ed31881df5c2aeccb387a7b8 | |
parent | 9765a32cd802709d152a0d73d0cbfd07c9f49808 [diff] |
[media] v4l2-ioctl: simplify code Instead of a big if at the beginning, just check if g_selection == NULL and call the cropcap op immediately and return the result. No functional changes in this patch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>