From 449f8bf151527d81b6c6dcf1c3cd2dafe49dabc4 Mon Sep 17 00:00:00 2001 From: Saxon Date: Thu, 9 May 2019 12:01:05 +0930 Subject: [PATCH] codec/h265: commented 'do nothing' on nil read error in Lex --- codec/h265/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/h265/lex.go b/codec/h265/lex.go index 6af405d7..3d820ef1 100644 --- a/codec/h265/lex.go +++ b/codec/h265/lex.go @@ -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: