diff options
author | dsmudhar <ds.mudhar@gmail.com> | 2016-05-22 03:48:58 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-23 06:39:37 +0300 |
commit | 5836a5037ecbbd9b10ac85cdec5ff8cccb1177d0 (patch) | |
tree | b1b7300b879903a819082acc3ae181d62820ea89 /libavfilter/af_hdcd.c | |
parent | 89806e0b9adda0a9c393af044e6c509fdde48621 (diff) |
libavfilter/af_hdcd: fixed negative signed value shift
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/af_hdcd.c')
-rw-r--r-- | libavfilter/af_hdcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index 041b89fd2a..fbf083679d 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 & ~(-1 << 8)]; + state->readahead = readaheadtab[bits & ~((unsigned) -1 << 8)]; else state->readahead = 31; /* ffwd over digisilence */ } |