You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
Merge commit '213e606752d16f51337e94431962fb5d7749c07e'
* commit '213e606752d16f51337e94431962fb5d7749c07e': Replace av_unused attributes by block structures Conflicts: libavcodec/h264_loopfilter.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -115,7 +115,6 @@ static inline void refill(RangeCoder *c)
|
||||
static inline int get_rac(RangeCoder *c, uint8_t *const state)
|
||||
{
|
||||
int range1 = (c->range * (*state)) >> 8;
|
||||
int av_unused one_mask;
|
||||
|
||||
c->range -= range1;
|
||||
#if 1
|
||||
@ -131,13 +130,14 @@ static inline int get_rac(RangeCoder *c, uint8_t *const state)
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
one_mask = (c->range - c->low - 1) >> 31;
|
||||
{
|
||||
int one_mask one_mask = (c->range - c->low - 1) >> 31;
|
||||
|
||||
c->low -= c->range & one_mask;
|
||||
c->range += (range1 - c->range) & one_mask;
|
||||
|
||||
*state = c->zero_state[(*state) + (256 & one_mask)];
|
||||
c->low -= c->range & one_mask;
|
||||
c->range += (range1 - c->range) & one_mask;
|
||||
|
||||
*state = c->zero_state[(*state) + (256 & one_mask)];
|
||||
}
|
||||
refill(c);
|
||||
|
||||
return one_mask & 1;
|
||||
|
Reference in New Issue
Block a user