mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Remove undefined (unused) Bitstream feature. It breaks compilation.
See: https://chromium.googlesource.com/webm/libwebp/+/775d3a373c38230d6aa9ea11fb95b8024d94cd49^!/#F0
This commit is contained in:
parent
116fab839a
commit
5356cfff07
1 changed files with 0 additions and 2 deletions
|
|
@ -37,7 +37,6 @@ type BitstreamFeatures struct {
|
|||
HasAlpha bool // True if data stream contains a alpha channel.
|
||||
HasAnimation bool // True if data stream is an animation
|
||||
Format int // Image compression format
|
||||
NoIncrementalDecoding bool // True if incremental decording is not using
|
||||
}
|
||||
|
||||
// GetDecoderVersion returns decoder's version number, packed in hexadecimal.
|
||||
|
|
@ -68,7 +67,6 @@ func GetFeatures(data []byte) (f *BitstreamFeatures, err error) {
|
|||
HasAlpha: cf.has_alpha > 0,
|
||||
HasAnimation: cf.has_animation > 0,
|
||||
Format: int(cf.format),
|
||||
NoIncrementalDecoding: cf.no_incremental_decoding == 1,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue