ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Tue May 24 19:56:55 2016 +0200| [35b37591c0345abfd35b0cfcaed3b35fba5512a8] | committer: Michael Niedermayer
avfilter/af_hdcd: Replace complexer expression by litteral constant Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35b37591c0345abfd35b0cfcaed3b35fba5512a8 --- libavfilter/af_hdcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
