Commit 35b37591 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/af_hdcd: Replace complexer expression by litteral constant

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4c82ccad
...@@ -893,7 +893,7 @@ static int integrate(hdcd_state_t *state, int *flag, const int32_t *samples, int ...@@ -893,7 +893,7 @@ static int integrate(hdcd_state_t *state, int *flag, const int32_t *samples, int
state->code_counterC++; state->code_counterC++;
} else { } else {
if (bits) if (bits)
state->readahead = readaheadtab[bits & ~((unsigned) -1 << 8)]; state->readahead = readaheadtab[bits & 0xff];
else else
state->readahead = 31; /* ffwd over digisilence */ state->readahead = 31; /* ffwd over digisilence */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment