forked from len0rd/rockbox
Check for invalid song data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7045 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d25240f41
commit
1076eb1d27
1 changed files with 1 additions and 1 deletions
|
|
@ -1435,7 +1435,7 @@ bool set_rating(void)
|
||||||
bool exit = false;
|
bool exit = false;
|
||||||
char rating_text[20];
|
char rating_text[20];
|
||||||
|
|
||||||
if (!(audio_status() & AUDIO_STATUS_PLAY))
|
if (!(audio_status() & AUDIO_STATUS_PLAY)||id3==NULL)
|
||||||
return false;
|
return false;
|
||||||
while (!exit)
|
while (!exit)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue