This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 1218a8a922 avcodec/rangecoder: Fix indentation
1218a8a922 is described below
commit 1218a8a92274f542ff646e5d499869562d1217c0
Author: Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Feb 9 13:13:37 2026 +0100
Commit: Ramiro Polla <[email protected]>
CommitDate: Mon Feb 9 17:36:40 2026 +0000
avcodec/rangecoder: Fix indentation
Forgotten after 832649986c2bd20943e9983d452ff28c50e6a180
and d147b3d7ecba2bd40cb45284f920238da97a95ee.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/rangecoder.h | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 15217a99a3..ee2dba95f2 100644
--- a/libavcodec/rangecoder.h
+++ b/libavcodec/rangecoder.h
@@ -61,19 +61,19 @@ void ff_build_rac_states(RangeCoder *c, int factor, int
max_p);
static inline void renorm_encoder(RangeCoder *c)
{
- if (c->low - 0xFF01 >= 0x10000 - 0xFF01U) {
- int mask = c->low - 0xFF01 >> 31;
- *c->bytestream = c->outstanding_byte + 1 + mask;
- c->bytestream += c->outstanding_byte >= 0;
- for (; c->outstanding_count; c->outstanding_count--)
- *c->bytestream++ = mask;
- c->outstanding_byte = c->low >> 8;
- } else {
- c->outstanding_count++;
- }
-
- c->low = (c->low & 0xFF) << 8;
- c->range <<= 8;
+ if (c->low - 0xFF01 >= 0x10000 - 0xFF01U) {
+ int mask = c->low - 0xFF01 >> 31;
+ *c->bytestream = c->outstanding_byte + 1 + mask;
+ c->bytestream += c->outstanding_byte >= 0;
+ for (; c->outstanding_count; c->outstanding_count--)
+ *c->bytestream++ = mask;
+ c->outstanding_byte = c->low >> 8;
+ } else {
+ c->outstanding_count++;
+ }
+
+ c->low = (c->low & 0xFF) << 8;
+ c->range <<= 8;
}
static inline int get_rac_count(RangeCoder *c)
@@ -106,13 +106,13 @@ static inline void put_rac(RangeCoder *c, uint8_t *const
state, int bit)
static inline void refill(RangeCoder *c)
{
- c->range <<= 8;
- c->low <<= 8;
- if (c->bytestream < c->bytestream_end) {
- c->low += c->bytestream[0];
- c->bytestream++;
- } else
- c->overread ++;
+ c->range <<= 8;
+ c->low <<= 8;
+ if (c->bytestream < c->bytestream_end) {
+ c->low += c->bytestream[0];
+ c->bytestream++;
+ } else
+ c->overread ++;
}
static inline int get_rac(RangeCoder *c, uint8_t *const state)
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]