mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 23:02:45 +08:00
update golangci-lint
This commit is contained in:
@@ -65,7 +65,6 @@ func (e *Encoder) Encode(nalus [][]byte, pts time.Duration) ([][]byte, error) {
|
||||
if e.lenAggregated(batch, nalu) <= rtpPayloadMaxSize {
|
||||
// add to existing batch
|
||||
batch = append(batch, nalu)
|
||||
|
||||
} else {
|
||||
// write batch
|
||||
if batch != nil {
|
||||
|
Reference in New Issue
Block a user