forked from FFmpeg/FFmpeg
avcodec/rangecoder: Do not loop renormalization
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
360e7cafd0
commit
c314a68d04
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue