mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-04 19:48:19 +00:00
avcodec/rangecoder: Remove unneeded outstanding byte mask
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
70fa8bd38c
commit
18922f4ae3
@ -72,7 +72,7 @@ static inline void renorm_encoder(RangeCoder *c)
|
|||||||
*c->bytestream++ = c->outstanding_byte + 1;
|
*c->bytestream++ = c->outstanding_byte + 1;
|
||||||
for (; c->outstanding_count; c->outstanding_count--)
|
for (; c->outstanding_count; c->outstanding_count--)
|
||||||
*c->bytestream++ = 0x00;
|
*c->bytestream++ = 0x00;
|
||||||
c->outstanding_byte = (c->low >> 8) & 0xFF;
|
c->outstanding_byte = c->low >> 8;
|
||||||
} else {
|
} else {
|
||||||
c->outstanding_count++;
|
c->outstanding_count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user