From aad0c5403905a5363f254cf8fb773333d78e9ad2 Mon Sep 17 00:00:00 2001 From: Saxon Date: Thu, 30 May 2019 19:06:50 +0930 Subject: [PATCH] codec/h264/lex_test.go: removed unnecessary conversion --- codec/h264/lex_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/h264/lex_test.go b/codec/h264/lex_test.go index 7e3422ea..46191fbd 100644 --- a/codec/h264/lex_test.go +++ b/codec/h264/lex_test.go @@ -252,7 +252,7 @@ type destination [][]byte func (d *destination) Write(p []byte) (int, error) { tmp := make([]byte, len(p)) copy(tmp, p) - *d = append([][]byte(*d), tmp) + *d = append(*d, tmp) return len(p), nil }