OSDN Git Service

lavd/v4l2: simplify first_field()
authorGiorgio Vazzana <mywing81@gmail.com>
Fri, 5 Sep 2014 15:24:43 +0000 (17:24 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Sep 2014 16:36:04 +0000 (18:36 +0200)
commit3da359c140a29c1f45eb7844a6d68aa958cd604c
tree2cef0b861c99ae283a429839b1806dc2571040c6
parent39750b73641e4a2f10e4c025b6424d1c864683fb
lavd/v4l2: simplify first_field()

There is no need to pass fd as a second parameter. Additionally remove
unneeded curly braces.

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