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 {
|
for {
|
||||||
n, err := src.Read(buf)
|
n, err := src.Read(buf)
|
||||||
switch err {
|
switch err {
|
||||||
case nil:
|
case nil: // Do nothing.
|
||||||
case io.EOF:
|
case io.EOF:
|
||||||
return nil
|
return nil
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue