lavd/v4l2: simplify list_formats()
authorGiorgio Vazzana <mywing81@gmail.com>
Fri, 5 Sep 2014 15:43:59 +0000 (17:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Sep 2014 18:25:58 +0000 (20:25 +0200)
commit0b890425e3547cd1818cbe24cadfbcf1b6c93e9a
treec5c83fb54f144e6c71784dd6a120aa344070a22d
parent0a7239ae25e0741106b00def14ad8d8d4f211490
lavd/v4l2: simplify list_formats()

We can avoid passing file descriptor fd explicitely.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/v4l2.c