lavu/opt: fix range check logic in set_format()
In particular, allow to reject undefined values. Previously the code was only accepting values in the range -1 .. NB_FORMATS-1.
Showing
Please
register
or
sign in
to comment
In particular, allow to reject undefined values. Previously the code was only accepting values in the range -1 .. NB_FORMATS-1.