Skip to content

Conversation

@madah81pnz1
Copy link

Remove one extra feof() call since it would prevent the last line from being added if it was missing a newline at the end.

Check for both \r and \n, since otherwise the tags will be added with an extra \r included in the tag value, which is unexpected.

Fixes #856

Remove one extra feof() call since it would prevent the last line
from being added if it was missing a newline at the end.

Check for both \r and \n, since otherwise the tags will be added with
an extra \r included in the tag value, which is unexpected.

Fixes xiph#856
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The --import-tags-from option of metaflac does not add the last tag if the file does not end with a newline.

1 participant