mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
d4917888e3
commit
7a3d829543
1 changed files with 1 additions and 1 deletions
|
|
@ -4214,7 +4214,7 @@ static void set_initial_slide(const char* selected_file)
|
||||||
pf_cfg.last_album);
|
pf_cfg.last_album);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct mp3entry id3;
|
static struct mp3entry id3;
|
||||||
#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE)
|
#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE)
|
||||||
if (rb->tagcache_fill_tags(&id3, selected_file))
|
if (rb->tagcache_fill_tags(&id3, selected_file))
|
||||||
set_current_slide(id3_get_index(&id3));
|
set_current_slide(id3_get_index(&id3));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue