v4l2: remove call to v4l2_fd_open.
authorNicolas George <nicolas.george@normalesup.org>
Fri, 20 Jul 2012 08:55:59 +0000 (10:55 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 20 Jul 2012 19:12:10 +0000 (21:12 +0200)
commitfd58678b86023ea98665f06756bf03f91e56be54
tree5b442cc28a2f234494f0a80d25f6ce1798f1fb74
parentb040ffc84c5e35436590e0bcea6608a2ad31cf84
v4l2: remove call to v4l2_fd_open.

v4l2_fd_open is already called at the end of v4l2_open;
calling a second time leaks structures inside libv4l2.

Fix trac ticket #1560.
libavdevice/v4l2.c