History

m4a: "gnre" is non-standard id3v1 style (non-text) - check before reading the value

Sigrid Solveig Haflínudóttir committed 2 years ago

Commit eaaa32c1 parent 03c517e1 file · +1 −1Browse files

Unified · Split

m4a.c+1−1
@@ -137,7 +137,7 @@ tagm4a(Tagctx *ctx) · 136 unmodified lines
137137 sz -= 4;
138138 snprint((char*)d, ctx->bufsz, "%d", beuint(d));
139139 txtcb(ctx, type, "", d);
140− }else if(type == Tgenre){
140+ }else if(type == Tgenre && dtype != 1){
141141 if(ctx->read(ctx, d, 2) != 2)
142142 return -1;
143143 sz -= 2;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t