mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
VP8LDoFillBitWindow: remove stale TODO
the read size may be fixed, but the offsets into buf_ are not. forcing an aligned read then shifting or using a temporary would be costly. this is less important now that WebPMemToUint32() is being used. Change-Id: I357fec8f750969cce91987abebed2f95e27a835f
This commit is contained in:
parent
2ec2de1450
commit
d39ceb58ac
@ -192,8 +192,6 @@ static void ShiftBytes(VP8LBitReader* const br) {
|
||||
|
||||
void VP8LDoFillBitWindow(VP8LBitReader* const br) {
|
||||
assert(br->bit_pos_ >= VP8L_WBITS);
|
||||
// TODO(jzern): given the fixed read size it may be possible to force
|
||||
// alignment in this block.
|
||||
#if defined(VP8L_USE_UNALIGNED_LOAD)
|
||||
if (br->pos_ + sizeof(br->val_) < br->len_) {
|
||||
br->val_ >>= VP8L_WBITS;
|
||||
|
Loading…
Reference in New Issue
Block a user