Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
q191201771 committed May 11, 2024
1 parent 5a35570 commit fde1e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hevc/hevc.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func ParseVpsSpsPpsFromSeqHeaderWithoutMalloc(payload []byte) (vps, sps, pps []b
return
}

// TODO(chef): 函数中 vps 等变量指向的为新申请的内存块,与调用它的函数 ParseVpsSpsPpsFromSeqHeaderWithoutMalloc 语义不相符 202405
// TODO(chef): 函数中vps/sps/pps变量指向的为新申请的内存块,与调用它的函数ParseVpsSpsPpsFromSeqHeaderWithoutMalloc中的WithoutMalloc语义不相符 202405
func parseVpsSpsPpsAnnexbFromRecord(payload []byte) (vps, sps, pps []byte, err error) {
for i := 0; i < len(payload)-4; {
start := bytes.Index(payload[i:], NaluStartCode4)
Expand Down

0 comments on commit fde1e68

Please sign in to comment.