ref: 92c7f6f0a65d61377ef289d22633d664768f8817
parent: 54c79eb8a7b90d1503104761b01f037a83ba2391
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri May 29 10:40:20 EDT 2020
don't ignore valid audio files without tags
--- a/tags.c
+++ b/tags.c
@@ -44,8 +44,9 @@
res = -1;
for(i = 0; i < (int)(sizeof(g)/sizeof(g[0])); i++){
ctx->num = 0;
- if(g[i].f(ctx) == 0 && ctx->num > 0){
- res = 0;
+ if(g[i].f(ctx) == 0){
+ if(ctx->num > 0)
+ res = 0;
ctx->format = g[i].format;
}
ctx->seek(ctx, 0, 0);