Be sure to wipe id3 tag after failed parse in playback.c
Change-Id: I000c78e913ab80afa9b82cae937afb5255831b79
This commit is contained in:
parent
d541a72a0e
commit
02b940396b
1 changed files with 2 additions and 1 deletions
|
@ -1915,7 +1915,8 @@ static int audio_load_track(void)
|
|||
if (fd >= 0)
|
||||
{
|
||||
id3_mutex_lock();
|
||||
get_metadata(ub_id3, fd, path);
|
||||
if(!get_metadata(ub_id3, fd, path))
|
||||
wipe_mp3entry(ub_id3);
|
||||
id3_mutex_unlock();
|
||||
close(fd);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue