diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-08-15 04:55:41 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2022-08-16 13:18:43 +0200 |
commit | 7a3d829543f437691ca36278d862f5ddf228f816 (patch) | |
tree | 311c84cb645e46b4454e08c077ac904ef486db15 /apps/plugins | |
parent | d4917888e3cee943cfb050db3f6b93f83b0356e3 (diff) | |
download | rockbox-7a3d829543f437691ca36278d862f5ddf228f816.tar.gz rockbox-7a3d829543f437691ca36278d862f5ddf228f816.zip |
pictureflow: fix stack overflow
I noticed a stack overflow on the Fiio M3K when launching
PictureFlow from the Playlist Viewer after opening a playlist
from the file browser using the context menu's "View" option.
Change-Id: Id87fb59e36518bd7ceb61f886d5759fc3206aadf
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 2f075a7e61..b20225492e 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -4214,7 +4214,7 @@ static void set_initial_slide(const char* selected_file) | |||
4214 | pf_cfg.last_album); | 4214 | pf_cfg.last_album); |
4215 | else | 4215 | else |
4216 | { | 4216 | { |
4217 | struct mp3entry id3; | 4217 | static struct mp3entry id3; |
4218 | #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) | 4218 | #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) |
4219 | if (rb->tagcache_fill_tags(&id3, selected_file)) | 4219 | if (rb->tagcache_fill_tags(&id3, selected_file)) |
4220 | set_current_slide(id3_get_index(&id3)); | 4220 | set_current_slide(id3_get_index(&id3)); |