Fix some mistakes

This commit is contained in:
Sergey Stepanov 2021-04-14 11:37:43 +03:00
parent 763859283a
commit efd8679de3
No known key found for this signature in database
GPG key ID: A56B4929BAA8556B
10 changed files with 12 additions and 45 deletions

View file

@ -58,7 +58,7 @@ func NewYuvImgProcessor(w, h int, options ...Option) ImgProcessor {
opts.override(options...)
bufSize := int(float32(w*h) * 1.5)
buf := make([]byte, bufSize, bufSize)
buf := make([]byte, bufSize)
processor := processor{
Data: buf,