mirror of https://bitbucket.org/ausocean/av.git
codec/h264/lex_test.go: removed unnecessary conversion
This commit is contained in:
parent
20d5f9605f
commit
aad0c54039
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue