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 | |
parent | d4917888e3cee943cfb050db3f6b93f83b0356e3 (diff) | |
download | rockbox-7a3d829543.tar.gz rockbox-7a3d829543.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
-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) pf_cfg.last_album); else { - struct mp3entry id3; + static struct mp3entry id3; #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) if (rb->tagcache_fill_tags(&id3, selected_file)) set_current_slide(id3_get_index(&id3)); |