Skip to content

Commit

Permalink
matroska: file_data: Fallback to raw if probe fails
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Apr 20, 2023
1 parent 23d980d commit 8941b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/matroska/matroska.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func decodeMaster(d *decode.D, bitsLimit int64, elm *ebml.Master, unknownSize bo
}
d.SeekRel(int64(tagSize) * 8)
case ebml_matroska.FileDataID:
d.FieldFormatLen("value", int64(tagSize)*8, imageFormat, nil)
d.FieldFormatOrRawLen("value", int64(tagSize)*8, imageFormat, nil)
default:
d.FieldRawLen("value", int64(tagSize)*8)
}
Expand Down

0 comments on commit 8941b13

Please sign in to comment.