avcodec/rangecoder: Remove unneeded outstanding byte mask

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-10-16 21:09:09 +02:00
parent 70fa8bd38c
commit 18922f4ae3
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -72,7 +72,7 @@ static inline void renorm_encoder(RangeCoder *c)
*c->bytestream++ = c->outstanding_byte + 1;
for (; c->outstanding_count; c->outstanding_count--)
*c->bytestream++ = 0x00;
c->outstanding_byte = (c->low >> 8) & 0xFF;
c->outstanding_byte = c->low >> 8;
} else {
c->outstanding_count++;
}