mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Fix typo in Config.SetLossless()
This commit is contained in:
parent
de5a25c05e
commit
d2032b00c9
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func ConfigLosslessPreset(level int) (*Config, error) {
|
|||
// SetLossless sets lossless parameter that specifies whether to enable lossless
|
||||
// encoding.
|
||||
func (c *Config) SetLossless(v bool) {
|
||||
c.c.autofilter = boolToValue(v)
|
||||
c.c.lossless = boolToValue(v)
|
||||
}
|
||||
|
||||
// Lossless returns lossless parameter flag whether to enable lossless encoding.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue