mirror of
https://github.com/fmang/opustags.git
synced 2025-01-16 05:03:13 +01:00
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:
parent
1837f0b0ec
commit
dd0faa29bc
@ -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("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user