mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
libavfilter/af_hdcd: fixed negative signed value shift
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
89806e0b9a
commit
5836a5037e
@ -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 & ~(-1 << 8)];
|
||||
state->readahead = readaheadtab[bits & ~((unsigned) -1 << 8)];
|
||||
else
|
||||
state->readahead = 31; /* ffwd over digisilence */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user