Skip to content

Commit

Permalink
Merge pull request #2 from travisgrigsby/travisg_20230330-expose_priv…
Browse files Browse the repository at this point in the history
…ate_options_fields

exposing private fields
  • Loading branch information
tgrigsby-sc authored Mar 30, 2023
2 parents 21239f1 + 2776c42 commit 7f99873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decoder/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ type Options struct {

// if nil, DefaultImageFactory will be used. If non-nil, decode will return an image that must be put back into the pool
// when you're done with it
imageFactory ImageFactory
ImageFactory ImageFactory
// if nil, a default buffer will be used. If non-nil, decode will use this buffer to store data from the reader.
// The idea is that this buffer be reused, so either pass this back in next time you call decode, or put it back into
// a pool when you're done with it.
buffer []byte
Buffer []byte
}

// GetConfig build WebPDecoderConfig for libwebp
Expand Down

0 comments on commit 7f99873

Please sign in to comment.