mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
rename medias.Format into medias.FindFormat
This commit is contained in:
@@ -38,7 +38,7 @@ func main() {
|
||||
|
||||
// find the LPCM media and format
|
||||
var trak *format.LPCM
|
||||
medi := medias.Find(&trak)
|
||||
medi := medias.FindFormat(&trak)
|
||||
if medi == nil {
|
||||
panic("media not found")
|
||||
}
|
||||
|
Reference in New Issue
Block a user