Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/rangecoder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 110908d6bdd..2248161bca1 100644
--- a/libavcodec/rangecoder.h
+++ b/libavcodec/rangecoder.h
@@ -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);
}
--
2.47.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".