libtags: no tags is still fine if format is known
This commit is contained in:
parent
1051b023a8
commit
023882f0a4
1 changed files with 1 additions and 2 deletions
|
@ -69,9 +69,8 @@ tagsget(Tagctx *ctx)
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue