ref: 023882f0a416671dac2a84b3c821e2475ac0f67d
parent: 1051b023a8ad828574bf4dba17954826ebc33418
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Oct 31 13:38:18 EDT 2021
libtags: no tags is still fine if format is known
--- a/sys/src/cmd/audio/libtags/tags.c
+++ b/sys/src/cmd/audio/libtags/tags.c
@@ -69,9 +69,8 @@
for(i = 0; i < nelem(g); i++){
ctx->num = 0;
if(g[i].f(ctx) == 0){
- if(ctx->num > 0)
- res = 0;
ctx->format = g[i].format;
+ res = 0;
}
ctx->seek(ctx, 0, 0);
}