lavd/v4l2: return meaningful error code from device_init()
authorStefano Sabatini <stefasab@gmail.com>
Tue, 15 Jan 2013 11:01:06 +0000 (12:01 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 15 Jan 2013 20:48:36 +0000 (21:48 +0100)
commitaa359d3808e3cf935dabcee15e248261539ecd61
tree143262310bcef6ef2ea1c9f17fc01c546542dff3
parentfce165027fd8c9224e4163d22207584db2ac47b3
lavd/v4l2: return meaningful error code from device_init()

In particular, propagate errno value in case of device init failure.
libavdevice/v4l2.c