mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
avcodec/rangecoder: Do not loop renormalization
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user