diff options
author | William Vinnicombe <william.vinnicombe@raspberrypi.com> | 2022-07-06 11:18:34 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-06 21:33:35 +0300 |
commit | ed12bb4abaca50240178a5123f35dd01de8f484e (patch) | |
tree | dc04d11119d384381c0622e229d40a874cdc8a00 /utils/gen-header.sh | |
parent | 2778c3298ca421e2ec670c10d8bab7beaa78f5e9 (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 'utils/gen-header.sh')
0 files changed, 0 insertions, 0 deletions