Merge pull request #15 from harukasan/fix/param_method

Fix method parameter type.
master
Shunsuke Michii 9 years ago committed by GitHub
commit e05d69dcb5

@ -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…
Cancel
Save