Skip to content

Commit

Permalink
fix: error message for co64
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Jan 15, 2025
1 parent 378be04 commit 5337764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp4/co64.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func DecodeCo64SR(hdr BoxHeader, startPos uint64, sr bits.SliceReader) (Box, err
}

if hdr.Size != b.expectedSize(nrEntries) {
return nil, fmt.Errorf("expected size %d, got %d", b.expectedSize(nrEntries), hdr.Size)
return nil, fmt.Errorf("co64: expected size %d, got %d", b.expectedSize(nrEntries), hdr.Size)
}

b.ChunkOffset = make([]uint64, nrEntries)
Expand Down

0 comments on commit 5337764

Please sign in to comment.