mirror of
https://github.com/wader/fq.git
synced 2024-10-26 20:06:29 +03:00
avi: Add unused field for extra indx chunk space
This commit is contained in:
parent
a9051e8c5a
commit
0f225c3245
@ -454,7 +454,7 @@ func aviDecode(d *decode.D) any {
|
||||
chunkID := d.FieldUTF8("chunk_id", 4)
|
||||
aviDecorateStreamID(d, chunkID)
|
||||
d.FieldU64("base")
|
||||
d.FieldU32("unused")
|
||||
d.FieldU32("unused0")
|
||||
d.FieldArray("index", func(d *decode.D) {
|
||||
for i := 0; i < int(nEntriesInUse); i++ {
|
||||
d.FieldStruct("index", func(d *decode.D) {
|
||||
@ -471,6 +471,9 @@ func aviDecode(d *decode.D) any {
|
||||
})
|
||||
}
|
||||
})
|
||||
if d.BitsLeft() > 0 {
|
||||
d.FieldRawLen("unused1", d.BitsLeft())
|
||||
}
|
||||
|
||||
return false, nil
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user