Merge pull request #22 from e-conomic/master

Fix typo in Config.SetLossless()
master
Michii Shunsuke 7 years ago committed by GitHub
commit 68562c9c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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