mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-28 12:36:30 +00:00
Fix some mistakes
This commit is contained in:
parent
763859283a
commit
efd8679de3
10 changed files with 12 additions and 45 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue