Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions esp_video/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.3.1
- Fix array bounds check failure in destroy_sccb_device() when compile option is PTIMIZATION_SIZE

## 1.3.0

- Add RISC-V software swap byte function for DVP video device
Expand Down
2 changes: 1 addition & 1 deletion esp_video/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.3.0"
version: "1.3.1"
description: A framework designed to support Linux V4L2, multiple cameras and video streaming.
targets:
- esp32p4
Expand Down
5 changes: 3 additions & 2 deletions esp_video/src/esp_video_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,9 @@ static void destroy_sccb_device(esp_sccb_io_handle_t handle, esp_video_init_sccb
mark[i2c_port].handle = NULL;

s_sensor_sccb_mask[i2c_port].handle = NULL;
s_sensor_sccb_mask[i2c_port].sccb_io[0] = NULL;
s_sensor_sccb_mask[i2c_port].sccb_io[1] = NULL;
for (int j = 0; j < ESP_VIDEO_INIT_DEV_NUMS; j++) {
s_sensor_sccb_mask[i2c_port].sccb_io[j] = NULL;
}
}
}
} else {
Expand Down