Skip to content

Commit

Permalink
Merge pull request #645 from wader/matroska-filedata-fallback
Browse files Browse the repository at this point in the history
matroska: file_data: Fallback to raw if probe fails
  • Loading branch information
wader authored Apr 20, 2023
2 parents 7362dbf + 8941b13 commit b2cb5c3
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 b2cb5c3

Please sign in to comment.