mirror of https://bitbucket.org/ausocean/av.git
codec/h265: commented 'do nothing' on nil read error in Lex
This commit is contained in:
parent
382acb54cf
commit
449f8bf151
|
@ -74,7 +74,7 @@ func (l *Lexer) Lex(dst io.Writer, src io.Reader, delay time.Duration) error {
|
|||
for {
|
||||
n, err := src.Read(buf)
|
||||
switch err {
|
||||
case nil:
|
||||
case nil: // Do nothing.
|
||||
case io.EOF:
|
||||
return nil
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue