Browse Source

libavfilter/af_hdcd: fixed negative signed value shift

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
dsmudhar Michael Niedermayer 9 years ago
parent
commit
5836a5037e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_hdcd.c

+ 1
- 1
libavfilter/af_hdcd.c View File

@@ -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…
Cancel
Save