commit | 12352371033cc2426b27f5505aa8d25488eb674a | [log] [tgz] |
---|---|---|
author | Nick Sanders <nsanders@google.com> | Tue Nov 06 15:46:24 2012 -0800 |
committer | Nick Sanders <nsanders@google.com> | Wed Nov 07 12:36:04 2012 -0800 |
tree | 4a4199f84fdc2f9262fb4589a1cbfa6853a16b08 | |
parent | 25df2c673b1cdecd6d97f5c46905f58a834c9bdd [diff] |
Fix error handling in caps query Framerate and resolution queries to V4L2 may return different formats or may not be specified. Avoid accessing the data before validating the return code, and avoid corrupt data on unusual formats. Change-Id: I525935192f36c635cbab8abc8d446a9c84812dae