summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_hdcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_hdcd.c')
-rw-r--r--libavfilter/af_hdcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index fbf0836..7907edf 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -893,7 +893,7 @@ static int integrate(hdcd_state_t *state, int *flag, const int32_t *samples, int
state->code_counterC++;
} else {
if (bits)
- state->readahead = readaheadtab[bits & ~((unsigned) -1 << 8)];
+ state->readahead = readaheadtab[bits & 0xff];
else
state->readahead = 31; /* ffwd over digisilence */
}
OpenPOWER on IntegriCloud