mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-14 02:34:52 +00:00
fix compilation
This commit is contained in:
parent
0c1b13fa82
commit
19bb58404f
@ -116,7 +116,7 @@ func (pconf *PathConf) fillAndCheck(name string) error {
|
||||
return fmt.Errorf("source redirect must be filled")
|
||||
}
|
||||
|
||||
_, err := url.Parse(pconf.SourceRedirect)
|
||||
u, err := url.Parse(pconf.SourceRedirect)
|
||||
if err != nil {
|
||||
return fmt.Errorf("'%s' is not a valid rtsp url", pconf.SourceRedirect)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user