We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (p *MediaPlaylist) decode(buf *bytes.Buffer, strict bool) error { var eof bool var line string var err error
state := new(decodingState) wv := new(WV) for !eof { if line, err = buf.ReadString('\n'); err == io.EOF { eof = true } else if err != nil { break } err = decodeLineOfMediaPlaylist(p, wv, state, line, strict) if strict && err != nil { return err } } if state.tagWV { p.WV = wv } if strict && !state.m3u { return errors.New("#EXTM3U absent") } return nil
}
if p has customDecoder, directly decode, but state not initalized, when call decodeLineOfMediaPlaylist will panic
The text was updated successfully, but these errors were encountered:
No branches or pull requests
func (p *MediaPlaylist) decode(buf *bytes.Buffer, strict bool) error {
var eof bool
var line string
var err error
}
if p has customDecoder, directly decode, but state not initalized, when call decodeLineOfMediaPlaylist will panic
The text was updated successfully, but these errors were encountered: