diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-07 16:28:27 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-07 16:28:27 +0100 |
commit | 4b293285ea04df6c8ca04ec01f1b4729d285d379 (patch) | |
tree | a9ab319ea26423123962b4318ecf7a37f62dca34 | |
parent | f661dc596e4c1b7d2d6479afbf4cb4690d6d3a7b (diff) | |
download | rockbox-4b293285ea.tar.gz rockbox-4b293285ea.zip |
pictureflow: fix album index alignment in load_album_index
Change-Id: I7c3c86ffdab62859ce88faeeb84160ea52a4626a
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b2d170329e..a2782b6a2b 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -1628,6 +1628,7 @@ static int load_album_index(void){ buf_size -= data.album_len; /* index of album names */ + ALIGN_BUFFER(buf, buf_size, alignof(struct album_data)); if (read2buf(fr, buf, album_idx_sz) == 0) goto failure; |