forked from len0rd/rockbox
Fix %Vp in SBS error message after USB disconnect
Stops “Error accessing playlist control file” message after returning from USB mode, due to control file fd being closed Change-Id: Ic4ecb276ef32f8dc24fe7e540742161b50934c73
This commit is contained in:
parent
7100090f99
commit
2debcf2c1f
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ static struct mp3entry* get_mp3entry_from_offset(int offset,
|
||||||
pid3 = state->id3;
|
pid3 = state->id3;
|
||||||
else if (offset == 1)
|
else if (offset == 1)
|
||||||
pid3 = state->nid3;
|
pid3 = state->nid3;
|
||||||
else
|
else if (audio_status() & AUDIO_STATUS_PLAY)
|
||||||
{
|
{
|
||||||
/* we had to get a temp id3 entry, fill freeid3 to free later */
|
/* we had to get a temp id3 entry, fill freeid3 to free later */
|
||||||
struct mp3entry *bufid3 = get_temp_mp3entry(NULL);
|
struct mp3entry *bufid3 = get_temp_mp3entry(NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue