mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591
This commit is contained in:
parent
77c9089b7d
commit
368651059a
526 changed files with 34535 additions and 15900 deletions
6
third_party/aom/aom_dsp/daalaboolreader.c
vendored
6
third_party/aom/aom_dsp/daalaboolreader.c
vendored
|
|
@ -39,3 +39,9 @@ uint32_t aom_daala_reader_tell(const daala_reader *r) {
|
|||
uint32_t aom_daala_reader_tell_frac(const daala_reader *r) {
|
||||
return od_ec_dec_tell_frac(&r->ec);
|
||||
}
|
||||
|
||||
int aom_daala_reader_has_overflowed(const daala_reader *r) {
|
||||
const uint32_t tell_bits = aom_daala_reader_tell(r);
|
||||
const uint32_t tell_bytes = (tell_bits + 7) >> 3;
|
||||
return ((ptrdiff_t)tell_bytes > r->buffer_end - r->buffer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue