Revert ancient fix that's not needed anymore

This commit is contained in:
Willy-JL
2024-05-27 05:24:11 +01:00
parent 63fbdc4e59
commit 169ffcac56

View File

@@ -323,7 +323,7 @@ static bool animation_storage_load_frames(
FileInfo file_info;
FuriString* filename;
filename = furi_string_alloc();
size_t max_filesize = ROUND_UP_TO(width, 8) * height + 2;
size_t max_filesize = ROUND_UP_TO(width, 8) * height + 1;
for(int i = 0; i < icon->frame_count; ++i) {
frames_ok = false;