mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/rangecoder: Do not loop renormalization
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
360e7cafd0
commit
c314a68d04
@ -106,7 +106,7 @@ static inline void put_rac(RangeCoder *c, uint8_t *const state, int bit)
|
||||
*state = c->one_state[*state];
|
||||
}
|
||||
|
||||
while (c->range < 0x100)
|
||||
if (c->range < 0x100)
|
||||
renorm_encoder(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user