mirror of
https://github.com/wader/fq.git
synced 2024-12-28 08:02:28 +03:00
Merge pull request #637 from wader/wav-clenaup-avi
wav: Cleanup avi leftovers
This commit is contained in:
commit
089cf9bbae
@ -82,12 +82,7 @@ func wavDecode(d *decode.D) any {
|
||||
return true, nil
|
||||
|
||||
case "LIST":
|
||||
typ := d.FieldUTF8("type", 4)
|
||||
switch typ {
|
||||
case "strl":
|
||||
return true, &aviStrl{}
|
||||
}
|
||||
|
||||
d.FieldUTF8("type", 4)
|
||||
return true, nil
|
||||
|
||||
case "fmt ":
|
||||
@ -156,7 +151,7 @@ func wavDecode(d *decode.D) any {
|
||||
)
|
||||
|
||||
if riffType != wavRiffType {
|
||||
d.Errorf("wrong or no AVI riff type found (%s)", riffType)
|
||||
d.Errorf("wrong or no WAV riff type found (%s)", riffType)
|
||||
}
|
||||
_, _, _ = d.TryFieldFormat("footer", wavFooterFormat, nil)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user