Skip to content

Commit

Permalink
fix(lodepng): fix crash when fallback from lodepng decoder (lvgl#6079)
Browse files Browse the repository at this point in the history
  • Loading branch information
W-Mai authored Apr 17, 2024
1 parent 7e7590a commit 970781f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/lodepng/lv_lodepng.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 52,8 @@ void lv_lodepng_init(void)
lv_image_decoder_set_info_cb(dec, decoder_info);
lv_image_decoder_set_open_cb(dec, decoder_open);
lv_image_decoder_set_close_cb(dec, decoder_close);

dec->name = DECODER_NAME;
}

void lv_lodepng_deinit(void)
Expand Down

0 comments on commit 970781f

Please sign in to comment.