Unified · Split
| @@ -137,7 +137,7 @@ tagm4a(Tagctx *ctx) · 136 unmodified lines | |||
| 137 | sz -= 4; | 137 | sz -= 4; |
| 138 | snprint((char*)d, ctx->bufsz, "%d", beuint(d)); | 138 | snprint((char*)d, ctx->bufsz, "%d", beuint(d)); |
| 139 | txtcb(ctx, type, "", d); | 139 | txtcb(ctx, type, "", d); |
| 140 | }else if(type == Tgenre){ | 140 | }else if(type == Tgenre && dtype != 1){ |
| 141 | if(ctx->read(ctx, d, 2) != 2) | 141 | if(ctx->read(ctx, d, 2) != 2) |
| 142 | return -1; | 142 | return -1; |
| 143 | sz -= 2; | 143 | sz -= 2; |