]> git.sesse.net Git - ffmpeg/commit
avfilter/af_headphone: Remove pointless additions
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 28 Aug 2020 13:28:33 +0000 (15:28 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 9 Sep 2020 11:48:18 +0000 (13:48 +0200)
commit7b841cf6b706055164d5db3f2b901ed32e8092af
tree0c195677fd909101ff1d38465c07c9b4477e0a3f
parent8dda0d601becf19e6cdf350e2fe82b4db7339bd1
avfilter/af_headphone: Remove pointless additions

buffer_length is a power-of-two and modulo is buffer_length - 1, so that
buffer_length & modulo is zero.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/af_headphone.c