mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
reuse UDP buffers when possible (#639)
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/bluenviron/gortsplib/v4/pkg/sdp"
|
||||
)
|
||||
|
||||
type readFunc func([]byte)
|
||||
type readFunc func([]byte) bool
|
||||
|
||||
func stringsReverseIndex(s, substr string) int {
|
||||
for i := len(s) - 1 - len(substr); i >= 0; i-- {
|
||||
|
Reference in New Issue
Block a user