diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-05-19 23:31:39 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-05-19 23:31:39 +0200 |
commit | 3a78a901bbc07d9283a9b80e22be4e9500697745 (patch) | |
tree | cf48ae5482b99841091e8892512678a58374d45b /media.c | |
parent | 5154f4d6f89e9853b768fc0ec470fa4dff5f890a (diff) |
Zero structures before filling them
The parse_format function fills a v4l2_mbus_framefmt structure but
doesn't zero it beforehand. This results in some fields being
uninitialized. Fix this.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'media.c')
0 files changed, 0 insertions, 0 deletions