1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00
This commit is contained in:
Ian Foster 2025-02-19 21:22:22 -08:00
parent e63faf69c6
commit 4d3bfaafdf

View File

@ -82,7 +82,7 @@ int HOT WebpDecoder::decode(uint8_t *buffer, size_t size) {
} }
ESP_LOGD(TAG, "WebPAnimDecode size: (%dx%d), loops: %d, frames: %d, bgcolor: #%X", animation_.canvas_width, ESP_LOGD(TAG, "WebPAnimDecode size: (%dx%d), loops: %d, frames: %d, bgcolor: #%X", animation_.canvas_width,
animation_.canvas_height, animation_.loop_count, animation_.frame_count, animation_.bgcolor); animation_.canvas_height, animation_.loop_count, animation_.frame_count, animation_.bgcolor);
if (!this->set_size(animation_.canvas_width, animation_.canvas_height, animation_.frame_count)) { if (!this->set_size(animation_.canvas_width, animation_.canvas_height, animation_.frame_count)) {
ESP_LOGE(TAG, "could not allocate enough memory"); ESP_LOGE(TAG, "could not allocate enough memory");