diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-24 19:56:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-24 19:56:55 +0200 |
commit | 35b37591c0345abfd35b0cfcaed3b35fba5512a8 (patch) | |
tree | cf850b74347dbd6f43d54723f949994e1e85e390 /libavfilter | |
parent | 4c82ccad2b3c813015a17e0c5bbbf6bfd0a6b623 (diff) | |
download | ffmpeg-streaming-35b37591c0345abfd35b0cfcaed3b35fba5512a8.zip ffmpeg-streaming-35b37591c0345abfd35b0cfcaed3b35fba5512a8.tar.gz |
avfilter/af_hdcd: Replace complexer expression by litteral constant
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-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 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 */ } |