1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avcodec/rangecoder: Do not loop renormalization

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2024-10-16 14:43:04 +02:00
parent 360e7cafd0
commit c314a68d04

View File

@@ -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);
}