mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-16 18:55:58 -07:00
Fix method parameter type.
This commit is contained in:
parent
1b70081941
commit
6df432145c
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ func (c *Config) Quality() float32 {
|
||||||
|
|
||||||
// SetMethod sets method parameter that specifies quality/speed trade-off
|
// SetMethod sets method parameter that specifies quality/speed trade-off
|
||||||
// (0=fast, 6=slower-better).
|
// (0=fast, 6=slower-better).
|
||||||
func (c *Config) SetMethod(v float32) {
|
func (c *Config) SetMethod(v int) {
|
||||||
c.c.method = C.int(v)
|
c.c.method = C.int(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue