mirror of
https://github.com/wader/fq.git
synced 2024-12-29 00:22:38 +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
|
return true, nil
|
||||||
|
|
||||||
case "LIST":
|
case "LIST":
|
||||||
typ := d.FieldUTF8("type", 4)
|
d.FieldUTF8("type", 4)
|
||||||
switch typ {
|
|
||||||
case "strl":
|
|
||||||
return true, &aviStrl{}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true, nil
|
return true, nil
|
||||||
|
|
||||||
case "fmt ":
|
case "fmt ":
|
||||||
@ -156,7 +151,7 @@ func wavDecode(d *decode.D) any {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if riffType != wavRiffType {
|
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)
|
_, _, _ = d.TryFieldFormat("footer", wavFooterFormat, nil)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user