summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-11-30 17:11:29 +0100
committerChristian Soffke <christian.soffke@gmail.com>2024-11-30 17:30:01 +0100
commita41cad64589ac01e34baba06e22c559be94dc434 (patch)
treef0db11a01eb672e6d65aeaa718912e93c0bb8557
parent0469a95bee248339e2eb5770b3161500f2712491 (diff)
downloadrockbox-a41cad6458.tar.gz
rockbox-a41cad6458.zip
Playlist Viewer: align buffer
Change-Id: If93c7e3694a007ace62e3b75d96083b03557f3ec
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 2b457ba1c9..a373428639 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -386,7 +386,7 @@ static bool playlist_viewer_init(struct playlist_viewer * viewer,
return false;
}
- size_t id3_size = sizeof(*viewer->id3);
+ size_t id3_size = ALIGN_UP(sizeof(*viewer->id3), 4);
buffer = plugin_get_buffer(&buffer_size);
if (!buffer || buffer_size <= MAX_PATH + id3_size)