diff --git a/avif.go b/avif.go index fba6a42..7c0c0aa 100644 --- a/avif.go +++ b/avif.go @@ -122,7 +122,7 @@ func Encode(w io.Writer, m image.Image, o *Options) error { // } } if o.Threads < 1 { - // return OptionsError("bad threads number") + return OptionsError("bad threads number") } if o.Speed < MinSpeed || o.Speed > MaxSpeed { return OptionsError("bad speed value")