ai_review_20241024 update002 Signed-off-by heguangyao <heguangyao1@h-partners.com>

Signed-off-by: 何光耀 <heguangyao1@h-partners.com>
This commit is contained in:
何光耀 2024-10-24 22:02:43 +08:00
parent 6cf84b0ce6
commit 5e1ba86171
2 changed files with 2 additions and 2 deletions

View File

@ -427,7 +427,7 @@ static void ImageSourceCallbackRoutine(napi_env env, ImageSourceAsyncContext* &c
if (context != nullptr) {
delete context;
context = nullptr;
}
}
}
static void ImageSourceCallbackWithErrorObj(napi_env env,

View File

@ -42,7 +42,7 @@ bool WbmpFormatAgent::read_byte(uint8_t *stream, uint8_t &value, uint32_t &offse
{
if (stream == nullptr) {
IMAGE_LOGE("read_byte: stream is nullptr");
return false;
return false;
}
if (offset >= dataSize) {
IMAGE_LOGE("read_header data offset %{public}u. dataSize %{public}u", offset, dataSize);