mirror of
https://github.com/v0l/m3u8-rs.git
synced 2025-06-21 02:40:45 +00:00
fixed README
This commit is contained in:
@ -57,7 +57,7 @@ let mut file = std::fs::File::open("playlist.m3u8").unwrap();
|
||||
let mut bytes: Vec<u8> = Vec::new();
|
||||
file.read_to_end(&mut bytes).unwrap();
|
||||
|
||||
let parsed = m3u8::parse_playlist(&bytes);
|
||||
let parsed = m3u8_rs::parse_playlist(&bytes);
|
||||
|
||||
match parsed {
|
||||
IResult::Done(i, Playlist::MasterPlaylist(pl)) => println!("Master playlist:\n{}", pl),
|
||||
|
Reference in New Issue
Block a user