mirror of
https://github.com/aler9/gortsplib
synced 2025-10-21 14:19:36 +08:00
fix lint
This commit is contained in:
@@ -5,15 +5,6 @@ import (
|
||||
"net/url"
|
||||
)
|
||||
|
||||
func stringsReverseIndexByte(s string, c byte) int {
|
||||
for i := len(s) - 1; i >= 0; i-- {
|
||||
if s[i] == c {
|
||||
return i
|
||||
}
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// URL is a RTSP URL.
|
||||
// This is basically an HTTP URL with some additional functions to handle
|
||||
// control attributes.
|
||||
|
Reference in New Issue
Block a user