mirror of
https://github.com/aler9/gortsplib
synced 2025-10-09 09:00:44 +08:00
fix error not returned (#11)
This commit is contained in:
@@ -153,7 +153,7 @@ func (u *URL) AddControlAttribute(controlPath string) {
|
||||
}
|
||||
|
||||
// RemoveControlAttribute removes a control attribute from an URL.
|
||||
// We assume that the base path and control attribute are divided with a slash.
|
||||
// We assume that the base path and control attribute are divided with a slash.
|
||||
func (u *URL) RemoveControlAttribute() {
|
||||
_, controlPath, ok := u.BasePathControlAttr()
|
||||
if !ok {
|
||||
|
Reference in New Issue
Block a user