Skip to content

Commit

Permalink
mp3utils.c (mp3_skiptags): minor return code tidy-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Dec 12, 2019
1 parent 80103ac commit 766fc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/codecs/mp3utils.c
Expand Up @@ -365,10 +365,10 @@ int mp3_skiptags(struct mp3file_t *fil)
}
}

rc = 0;
rc = (fil->length > 0)? 0 : -1;
fail:
MP3_RWseek(fil, 0, RW_SEEK_SET);
return (fil->length > 0)? rc : -1;
return rc;
}
#endif /* MUSIC_MP3_????? */

Expand Down

0 comments on commit 766fc39

Please sign in to comment.