mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
improve coverage (#168)
This commit is contained in:
@@ -165,7 +165,7 @@ func (d *Decoder) DecodeUntilMarker(pkt *rtp.Packet) ([][]byte, time.Duration, e
|
||||
}
|
||||
|
||||
if (len(d.naluBuffer) + len(nalus)) > h265.MaxNALUsPerGroup {
|
||||
return nil, 0, fmt.Errorf("number of NALUs contained inside a single group (%d) is too big (maximum is %d)",
|
||||
return nil, 0, fmt.Errorf("NALU count (%d) exceeds maximum allowed (%d)",
|
||||
len(d.naluBuffer)+len(nalus), h265.MaxNALUsPerGroup)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user