Skip to content

Commit

Permalink
fix: grafov#166
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Nov 12, 2021
1 parent d5420c8 commit 191139b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@ func decodeLineOfMediaPlaylist(p *MediaPlaylist, wv *WV, state *decodingState, l
var err error

line = strings.TrimSpace(line)
if len(line) == 0 {
return err
}

// check for custom tags first to allow custom parsing of existing tags
if p.Custom != nil {
Expand Down

0 comments on commit 191139b

Please sign in to comment.