1
0
Fork 0
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:
Christian Soffke 2025-01-21 14:29:20 +01:00
parent 7100090f99
commit 2debcf2c1f

View file

@ -556,7 +556,7 @@ static struct mp3entry* get_mp3entry_from_offset(int offset,
pid3 = state->id3;
else if (offset == 1)
pid3 = state->nid3;
else
else if (audio_status() & AUDIO_STATUS_PLAY)
{
/* we had to get a temp id3 entry, fill freeid3 to free later */
struct mp3entry *bufid3 = get_temp_mp3entry(NULL);