don't print "no tags"

It's undesired, especially if the output is piped somewhere else.

It *could* be printed to stderr alternatively, but better not say
anything when there is nothing to say.
This commit is contained in:
Frédéric Mangano-Tarumi 2018-10-30 18:29:08 -04:00
parent 1837f0b0ec
commit dd0faa29bc

View File

@ -144,8 +144,6 @@ int add_tags(opus_tags *tags, const char **tags_to_add, uint32_t count){
}
void print_tags(opus_tags *tags){
if(tags->count == 0)
puts("no tags");
for(uint32_t i=0; i<tags->count; i++){
fwrite(tags->comment[i], 1, tags->lengths[i], stdout);
puts("");