[media] vivid: fix typo in plane size checks
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 7 Mar 2015 15:19:36 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:29:19 +0000 (20:29 -0300)
The plane size check was hardcoded to plane 0 instead of using the plane
index.

This failed when using the NV61M format which has a larger plane size for
the second plane compared to the first plane.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

No differences found