Skip to content

Commit

Permalink
Updated decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
djthorpe committed Jun 23, 2024
1 parent 880f600 commit e41a36d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,9 @@ FOR_LOOP:

// Flush the decoders
for _, decoder := range d.decoders {
if err := decoder.decode(nil, demuxfn, framefn); err != nil {
if err := decoder.decode(nil, demuxfn, framefn); errors.Is(err, io.EOF) {
// no-op
} else if err != nil {
return err
}
}
Expand Down

0 comments on commit e41a36d

Please sign in to comment.