summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authordsmudhar <ds.mudhar@gmail.com>2016-05-22 06:18:58 +0530
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-23 05:39:37 +0200
commit5836a5037ecbbd9b10ac85cdec5ff8cccb1177d0 (patch)
treeb1b7300b879903a819082acc3ae181d62820ea89 /libavfilter
parent89806e0b9adda0a9c393af044e6c509fdde48621 (diff)
downloadffmpeg-streaming-5836a5037ecbbd9b10ac85cdec5ff8cccb1177d0.zip
ffmpeg-streaming-5836a5037ecbbd9b10ac85cdec5ff8cccb1177d0.tar.gz
libavfilter/af_hdcd: fixed negative signed value shift
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-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 041b89f..fbf0836 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 */
}
OpenPOWER on IntegriCloud