Subject: | remove_mp3tag() broken for non-existing ID3v1 tags |
Previously from SF.net:
Updating from 0.80 (IIRC) the other day, I noticed that the
semantics of remove_mp3tag() have changed drastically and are
not consistent with the (current) documentation.
Before, remove_mp3tag() returned 1 if a tag was removed and
undefined otherwise. Since 0.90, according to the documentation
it should be 128 if a tag was removed, - 1 if no tag was removed
and undefined otherwise.
Unfortunately, in code ("reality" :-)) remove_mp3tag() returns 128
also if no tag was removed (and no error occured). My attached
tiny patch (against HEAD) fixes this.