v4l2: refactor device_open
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 27 Dec 2011 05:27:41 +0000 (06:27 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 4 Jan 2012 12:10:20 +0000 (13:10 +0100)
commiteb89b4fc0994d682cd3f24b882164439c8c3af28
treeec8799dcb2795699e71fa5816ccd974a4f407eac
parent246007d37096ea096fe1d7961d5542c385911dc2
v4l2: refactor device_open

Check capabilities directly in the function, further simplify the code.
libavdevice/v4l2.c