mirror of
https://gitee.com/openharmony/multimedia_image_framework
synced 2024-11-23 06:59:52 +00:00
ai_review_20241024 update002 Signed-off-by heguangyao <heguangyao1@h-partners.com>
Signed-off-by: 何光耀 <heguangyao1@h-partners.com>
This commit is contained in:
parent
6cf84b0ce6
commit
5e1ba86171
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user