codec/h265: commented 'do nothing' on nil read error in Lex

This commit is contained in:
Saxon 2019-05-09 12:01:05 +09:30
parent 382acb54cf
commit 449f8bf151
1 changed files with 1 additions and 1 deletions

View File

@ -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: