summaryrefslogtreecommitdiff
path: root/src/cam/event_loop.h
diff options
context:
space:
mode:
authorWilliam Vinnicombe <william.vinnicombe@raspberrypi.com>2022-07-06 11:18:34 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-06 21:33:35 +0300
commited12bb4abaca50240178a5123f35dd01de8f484e (patch)
treedc04d11119d384381c0622e229d40a874cdc8a00 /src/cam/event_loop.h
parent2778c3298ca421e2ec670c10d8bab7beaa78f5e9 (diff)
utils: raspberrypi: ctt: load_image: Ignore JPEG files with no raw data
The load_image function would throw errors with JPEG or JPG files containing no raw data. Prevent throwing these errors by returning 0 if an error has occurred. Signed-off-by: William Vinnicombe <william.vinnicombe@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.h')
0 files changed, 0 insertions, 0 deletions